From 30b0e59c0cc041c0830cc43a9900f0e8b784f1b0 Mon Sep 17 00:00:00 2001 From: - Date: Sat, 19 Oct 2024 17:05:03 -0400 Subject: [PATCH] Checkout first in workflow --- .github/workflows/hugo.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 258cf59..bf24497 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -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 @@ -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