Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavchopraa authored Aug 8, 2024
1 parent b26d536 commit 4e7a2e5
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4e7a2e5

Please sign in to comment.