From 94363c8b8faeb0c4efd7421dbb7695e57a9c4c55 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 18 Jul 2024 21:00:33 -0700 Subject: [PATCH] Switch hugo build workflow to checkout repo first --- .github/workflows/Jafner.dev_hugo.yaml | 12 ++++++------ sites/Jafner.dev/themes/hello-friend-ng | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) create mode 160000 sites/Jafner.dev/themes/hello-friend-ng diff --git a/.github/workflows/Jafner.dev_hugo.yaml b/.github/workflows/Jafner.dev_hugo.yaml index 17f4ca60..d571eda2 100644 --- a/.github/workflows/Jafner.dev_hugo.yaml +++ b/.github/workflows/Jafner.dev_hugo.yaml @@ -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 diff --git a/sites/Jafner.dev/themes/hello-friend-ng b/sites/Jafner.dev/themes/hello-friend-ng new file mode 160000 index 00000000..a902dacd --- /dev/null +++ b/sites/Jafner.dev/themes/hello-friend-ng @@ -0,0 +1 @@ +Subproject commit a902dacd8477728158ca181e17a340ea2f36d1ac