Skip to content

Commit

Permalink
Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
rtshkmr committed Jun 19, 2024
1 parent a468357 commit 3f3eb85
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,29 +49,29 @@ jobs:
id: pages
uses: actions/configure-pages@v4
- name: check stuff
working-directory: ./vyasa_blog
run: |
echo "Hello world, it's time to test the working directory: " && pwd
working-directory: ./vyasa_blog
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
working-directory: ./vyasa_blog
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
TZ: America/Los_Angeles
working-directory: ./vyasa_blog
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
working-directory: ./vyasa_blog
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
working-directory: ./vyasa_blog
path: ./vyasa_blog/public


# Deployment job
deploy:
Expand Down

0 comments on commit 3f3eb85

Please sign in to comment.