-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
9 changed files
with
25 additions
and
25 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 |
---|---|---|
|
@@ -2,21 +2,21 @@ name: Locutus CI | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
steps : | ||
steps : | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: 10.x | ||
node-version: 10.x | ||
- name: Get yarn cache directory path | ||
id : yarn-cache-dir-path | ||
run : echo "##[set-output name=dir;]$(yarn cache dir)" | ||
|
@@ -39,16 +39,16 @@ jobs: | |
run : | | ||
yarn test | ||
- name: Website Build | ||
if : github.ref == 'refs/heads/master' | ||
if : github.ref == 'refs/heads/main' | ||
run : | | ||
yarn website:install | ||
yarn injectweb | ||
yarn website:build | ||
- name: Website Deploy 🚀 | ||
if : github.ref == 'refs/heads/master' | ||
if : github.ref == 'refs/heads/main' | ||
uses: JamesIves/[email protected] | ||
with: | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH : gh-pages # The branch the action should deploy to. | ||
FOLDER : website/public # The folder the action should deploy. | ||
CLEAN : true # Automatically remove deleted files from the deploy branch | ||
CLEAN : true # Automatically remove deleted files from the deploy branch |
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
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
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
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
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
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
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
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