forked from decheine/complete-compendium
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 706 Bytes
/
deploy.yml
File metadata and controls
31 lines (28 loc) · 706 Bytes
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
name: Gatsby Deploy
on:
push:
branches: main
env:
GH_TOKEN: ${{ secrets.GH_PAGES }}
OTHER_VAR: ${{ vars.GH_VAR }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: GitHub Config
run: |
git config --global user.email "decheine@wisc.edu"
git config --global user.name "decheine"
shell: pwsh
env:
GIT_USER: ${{ vars.GITHUB_USER }}
GIT_EMAIL: "decheine@wisc.edu"
GIT_PASS: ${{ secrets.GH_PAGES_PASS }}
OTHER_VAR:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
npm install
- name: Deploy
run: npm run deploy:ci