[删除] workflow
This commit is contained in:
parent
d7e6036cbc
commit
978369a60b
27
.github/workflows/build docs.yml
vendored
27
.github/workflows/build docs.yml
vendored
@ -1,27 +0,0 @@
|
|||||||
name: build docs
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2.3.1
|
|
||||||
with:
|
|
||||||
persist-credentials: false
|
|
||||||
|
|
||||||
- name: Install and Build
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run build:docs
|
|
||||||
- name: Deploy
|
|
||||||
uses: JamesIves/github-pages-deploy-action@3.6.2
|
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
|
||||||
BRANCH: gh-pages
|
|
||||||
FOLDER: docs/dist
|
|
||||||
CLEAN: true
|
|
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
@ -1,20 +0,0 @@
|
|||||||
name: test
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2.3.1
|
|
||||||
with:
|
|
||||||
persist-credentials: false
|
|
||||||
|
|
||||||
- name: Install and Test
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run test
|
|
Loading…
Reference in New Issue
Block a user