Skip to content

Commit

Permalink
Attempt change directory for pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Jan 15, 2025
1 parent 4fe45af commit bb90712
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit bb90712

Please sign in to comment.