Add Stork to GitHub Actions

This commit is contained in:
Elnu 2022-07-17 17:19:34 -07:00
parent a17ec1d727
commit a52689492d
2 changed files with 39 additions and 2 deletions

View file

@ -8,7 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
@ -20,12 +20,15 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.100.2'
hugo-version: 'latest'
# extended: true
- name: Build
run: hugo --minify
- name: Stork Index
run: ./stork_index.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}