Switch hugo build workflow to checkout repo first

This commit is contained in:
Joey Hafner 2024-07-18 21:00:33 -07:00
parent fa1995e956
commit 94363c8b8f
No known key found for this signature in database
2 changed files with 7 additions and 6 deletions

View File

@ -28,18 +28,18 @@ jobs:
env:
HUGO_VERSION: 0.121.2
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
fetch-depth: 0
path: 'sites/Jafner.dev'
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4

@ -0,0 +1 @@
Subproject commit a902dacd8477728158ca181e17a340ea2f36d1ac