Skip to content

Commit

Permalink
Switch hugo build workflow to checkout repo first
Browse files Browse the repository at this point in the history
  • Loading branch information
Jafner committed Jul 19, 2024
1 parent fa1995e commit 94363c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Jafner.dev_hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions sites/Jafner.dev/themes/hello-friend-ng
Submodule hello-friend-ng added at a902da

0 comments on commit 94363c8

Please sign in to comment.