Skip to content

Commit

Permalink
Checkout first in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
victorliu5296 committed Oct 19, 2024
1 parent bd6f473 commit 30b0e59
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
env:
HUGO_VERSION: 0.128.0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Run pre-build script
run: |
chmod +x ./pre-build.sh
Expand All @@ -38,12 +44,6 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass

- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
Expand Down

0 comments on commit 30b0e59

Please sign in to comment.