Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
j-catania committed Dec 11, 2023
1 parent dfea204 commit a19a97a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,26 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
- name: Build
env:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
deploy_key: ${{ secrets.GITHUB_TOKEN }}
cname: blog.jcatania.io
path: ./public
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
- name: Git Push
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit a19a97a

Please sign in to comment.