From bb907121aa1648b78a616607d229c908994274e7 Mon Sep 17 00:00:00 2001 From: ljvmiranda921 Date: Tue, 14 Jan 2025 21:35:34 -0800 Subject: [PATCH] Attempt change directory for pages.yml --- .github/workflows/pages.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 384cedb..6bf1bc6 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -4,7 +4,7 @@ name: Deploy Hugo site to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ["master"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -44,14 +44,11 @@ jobs: id: pages uses: actions/configure-pages@v1 - name: Build with Hugo - run: | - hugo \ - --minify \ - --baseURL ${{ steps.pages.outputs.base_url }} + run: cd website && ls && hugo --minify --baseURL ${{ steps.pages.outputs.base_url }} - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: ./public + path: ./website/public # Deployment job deploy: