Skip to content

Commit 5e2a293

Browse files
committed
feat: cancel main job
1 parent 40381a6 commit 5e2a293

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.github/workflows/main.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,39 @@ on:
99
branches: []
1010

1111
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12-
jobs:
13-
# This workflow contains a single job called "build"
14-
build:
15-
# The type of runner that the job will run on
16-
runs-on: ubuntu-latest
17-
18-
# Steps represent a sequence of tasks that will be executed as part of the job
19-
steps:
20-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21-
- uses: actions/checkout@v2
22-
23-
- name: Install
24-
run: |
25-
yarn
26-
yarn clean
27-
28-
- name: Build
29-
run: |
30-
yarn build
31-
32-
- name: Check Build
33-
run: |
34-
sudo -i
35-
sudo chown -R $USER ./dist
36-
37-
- name: Docschina Github Action
38-
id: deployStatic
39-
uses: lcxfs1991/docschina-actions@master
40-
with:
41-
skipFiles: ${{ secrets.SKIP_FILES }}
42-
secretId: ${{ secrets.SECRET_ID }}
43-
secretKey: ${{ secrets.SECRET_KEY }}
44-
staticSrcPath: ./dist
45-
bucket: ${{ secrets.BUCKET }}
46-
region: ${{ secrets.REGION }}
47-
forceFiles: ${{ secrets.FORCE_FILES }}
12+
# jobs:
13+
# # This workflow contains a single job called "build"
14+
# build:
15+
# # The type of runner that the job will run on
16+
# runs-on: ubuntu-latest
17+
18+
# # Steps represent a sequence of tasks that will be executed as part of the job
19+
# steps:
20+
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21+
# - uses: actions/checkout@v2
22+
23+
# - name: Install
24+
# run: |
25+
# yarn
26+
# yarn clean
27+
28+
# - name: Build
29+
# run: |
30+
# yarn build
31+
32+
# - name: Check Build
33+
# run: |
34+
# sudo -i
35+
# sudo chown -R $USER ./dist
36+
37+
# - name: Docschina Github Action
38+
# id: deployStatic
39+
# uses: lcxfs1991/docschina-actions@master
40+
# with:
41+
# skipFiles: ${{ secrets.SKIP_FILES }}
42+
# secretId: ${{ secrets.SECRET_ID }}
43+
# secretKey: ${{ secrets.SECRET_KEY }}
44+
# staticSrcPath: ./dist
45+
# bucket: ${{ secrets.BUCKET }}
46+
# region: ${{ secrets.REGION }}
47+
# forceFiles: ${{ secrets.FORCE_FILES }}

0 commit comments

Comments
 (0)