Skip to content

Commit ab67923

Browse files
committed
New deploy branch (no longer dev)
1 parent 3e4fb22 commit ab67923

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
name: CI
44

55
# 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
77
on:
88
push:
9-
# branches: [ dev-2023S2 ]
10-
branches: [ dev ]
9+
branches: [ deploy ]
10+
# branches: [ dev ]
1111
paths-ignore:
1212
- 'doc/**' # Ignore all files and subdirectories under "doc/"
1313
- 'docs/**' # Ignore all files and subdirectories under "docs/"
@@ -19,6 +19,7 @@ jobs:
1919
build:
2020
# The type of runner that the job will run on
2121
runs-on: ubuntu-latest
22+
environment: Deploy
2223

2324
# Steps represent a sequence of tasks that will be executed as part of the job
2425
steps:
@@ -36,6 +37,6 @@ jobs:
3637
uses: JamesIves/[email protected]
3738
with:
3839
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
BRANCH: master # The branch the action should deploy to.
40+
BRANCH: master # The branch the action should deploy.
4041
FOLDER: build # The folder the action should deploy.
4142
CLEAN: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)