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: env:
HUGO_VERSION: 0.121.2 HUGO_VERSION: 0.121.2
steps: 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 - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
submodules: 'true' submodules: 'true'
fetch-depth: 0 fetch-depth: 0
path: 'sites/Jafner.dev' 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 - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

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