-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.18 KB
/
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
---
name: "deploy"
on:
push:
branches:
- "main"
permissions: "read-all"
jobs:
deploy:
runs-on: "ubuntu-latest"
permissions:
contents: "write"
steps:
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332"
with:
submodules: true
- uses: "pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2"
with:
version: "latest"
- uses: "actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b"
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- uses: "peaceiris/actions-hugo@v3"
with:
hugo-version: "0.105.0"
extended: true
- run: "make install"
- run: "hugo --minify"
- uses: "peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e"
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: "dbtedman/dbtedman.github.io"
publish_branch: "master"
publish_dir: ./public