-
Notifications
You must be signed in to change notification settings - Fork 291
40 lines (37 loc) · 984 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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