mirror of
https://github.com/danbulant/discord.js
synced 2026-07-04 18:50:40 +00:00
ci: reduce the amount of yml files
This commit is contained in:
parent
e7a961781c
commit
0c14616ffc
2 changed files with 18 additions and 28 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
name: Webpack
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -8,8 +8,23 @@ on:
|
||||||
- '!docs'
|
- '!docs'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
docs:
|
||||||
name: deploy
|
name: docs
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: install node v12
|
||||||
|
uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
|
- name: npm install
|
||||||
|
run: npm install
|
||||||
|
- name: docs
|
||||||
|
uses: discordjs/action-docs@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
webpack:
|
||||||
|
name: webpack
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
25
.github/workflows/docs.yml
vendored
25
.github/workflows/docs.yml
vendored
|
|
@ -1,25 +0,0 @@
|
||||||
name: Docs
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
- '!webpack'
|
|
||||||
- '!docs'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
name: deploy
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- name: install node v12
|
|
||||||
uses: actions/setup-node@master
|
|
||||||
with:
|
|
||||||
node-version: 12
|
|
||||||
- name: npm install
|
|
||||||
run: npm install
|
|
||||||
- name: deploy docs
|
|
||||||
uses: discordjs/action-docs@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
Loading…
Reference in a new issue