-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,11 @@ | |
name: CI | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the dev branch | ||
# events but only for the deploy branch | ||
on: | ||
push: | ||
# branches: [ dev-2023S2 ] | ||
branches: [ dev ] | ||
branches: [ deploy ] | ||
# branches: [ dev ] | ||
paths-ignore: | ||
- 'doc/**' # Ignore all files and subdirectories under "doc/" | ||
- 'docs/**' # Ignore all files and subdirectories under "docs/" | ||
|
@@ -19,6 +19,7 @@ jobs: | |
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
environment: Deploy | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
|
@@ -36,6 +37,6 @@ jobs: | |
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: master # The branch the action should deploy to. | ||
BRANCH: master # The branch the action should deploy. | ||
FOLDER: build # The folder the action should deploy. | ||
CLEAN: true # Automatically remove deleted files from the deploy branch |