Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
common
Browse files Browse the repository at this point in the history
  • Loading branch information
YakkaDev committed Mar 19, 2023
1 parent 08501e4 commit b885a09
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
- name: "bug"
color: "d73a4a"
description: "Something isn't working"
- name: "docs"
color: "0075ca"
description: "Improvements or additions to documentation"
- name: "dev"
color: "7c2bc8"
description: "Developers team"
- name: "empty"
color: "bfdadc"
description: "Note for myself"
- name: "feature"
color: "006b75"
description: "Feature for project"
- name: "git"
color: "bfdadc"
description: "Github things"
- name: "help"
color: "008672"
description: "Extra attention is needed"
- name: "img"
color: "6697F1"
description: "Design things"
- name: "invalid"
color: "e4e669"
description: "This doesn't seem right"
- name: "question"
color: "d876e3"
description: "Further information is requested"
- name: "smm"
color: "48959B"
description: "SMM Team"
- name: "solved"
color: "2F73C5"
description: "Case are solved"
- name: "todo"
color: "C69C22"
description: "Work-Walk?"
- name: "web"
color: "46AC05"
description: "Web developers"
- name: "wontfix"
color: "ffffff"
description: "This will not be worked on"
16 changes: 16 additions & 0 deletions .github/workflows/add-to-general.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add issues to General

on:
issues:
types:
- opened

jobs:
add-to-general:
name: Add issue to General
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/hostlikepro/projects/4
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
30 changes: 30 additions & 0 deletions .github/workflows/manage-your-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Manage Your Labels

on:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
- '.github/workflows/manage-your-labels.yml'

jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Run Labeler
if: success()
uses: crazy-max/ghaction-github-labeler@v4
with:
github-token: ${{ secrets.LABBELER_TOKEN }}
yaml-file: .github/labels.yml
skip-delete: false
dry-run: false
exclude: |
pxmx
lxc
vds
35 changes: 35 additions & 0 deletions .github/workflows/npm-to-github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Node.js Package

on:
push:
branches:
- 'build'
paths:
- 'build'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm install --save gh-pages

deploy:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run deploy
env:
NODE_AUTH_TOKEN: ${{secrets.ALL_TOKEN}}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "1.0.1",
"license": "MIT",
"repository":"https://github.com/hostlikepro/RoboUptime",
"homepage": "https://status.hostlikepro.github.io"
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build"
},
Expand Down

0 comments on commit b885a09

Please sign in to comment.