-
Notifications
You must be signed in to change notification settings - Fork 290
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
1 parent
b26d536
commit 4e7a2e5
Showing
1 changed file
with
19 additions
and
14 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,23 +2,28 @@ name: Gatsby Deploy | |
|
||
on: | ||
push: | ||
branches: master | ||
branches: compress | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
||
jobs: | ||
build: | ||
compress: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: GitHub Config | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "CSE3000-research-project" | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
npm install | ||
- name: Deploy | ||
run: npm run deploy:ci | ||
steps: | ||
- name: Compress | ||
run: npm run compress | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: GitHub Config | ||
# run: | | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "CSE3000-research-project" | ||
# - name: Checkout | ||
# uses: actions/checkout@v2 | ||
# - name: Install dependencies | ||
# run: | | ||
# npm install | ||
# - name: Deploy | ||
# run: npm run deploy:ci |