File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
name : CI
4
4
5
5
# Controls when the action will run. Triggers the workflow on push or pull request
6
- # events but only for the dev branch
6
+ # events but only for the deploy branch
7
7
on :
8
8
push :
9
- # branches: [ dev-2023S2 ]
10
- branches : [ dev ]
9
+ branches : [ deploy ]
10
+ # branches: [ dev ]
11
11
paths-ignore :
12
12
- ' doc/**' # Ignore all files and subdirectories under "doc/"
13
13
- ' docs/**' # Ignore all files and subdirectories under "docs/"
19
19
build :
20
20
# The type of runner that the job will run on
21
21
runs-on : ubuntu-latest
22
+ environment : Deploy
22
23
23
24
# Steps represent a sequence of tasks that will be executed as part of the job
24
25
steps :
36
37
37
38
with :
38
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
- BRANCH : master # The branch the action should deploy to .
40
+ BRANCH : master # The branch the action should deploy.
40
41
FOLDER : build # The folder the action should deploy.
41
42
CLEAN : true # Automatically remove deleted files from the deploy branch
You can’t perform that action at this time.
0 commit comments