Skip to content

Update deploy.yml

Update deploy.yml #15

Workflow file for this run

name: Gatsby Deploy
on:
push:
branches: compress
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
jobs:
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: Compress
run: |
pip3 install pillow
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