pull/48/head
Ilya 2023-03-19 03:10:55 +02:00
parent 08501e42de
commit b885a09dfc
5 changed files with 129 additions and 0 deletions

45
.github/labels.yml vendored Normal file
View File

@ -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
.github/workflows/add-to-general.yml vendored Normal file
View File

@ -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/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/hostlikepro/projects/4
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

View File

@ -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

View File

@ -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}}

View File

@ -3,7 +3,10 @@
"version": "1.0.1", "version": "1.0.1",
"license": "MIT", "license": "MIT",
"repository":"https://github.com/hostlikepro/RoboUptime", "repository":"https://github.com/hostlikepro/RoboUptime",
"homepage": "https://status.hostlikepro.github.io"
"scripts": { "scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build" "build": "react-scripts build"
}, },