Skip to content

Commit

Permalink
Merge pull request #177 from zetxek/update/workflow-actions
Browse files Browse the repository at this point in the history
Update workflows
  • Loading branch information
zetxek authored Jun 30, 2024
2 parents a7963e6 + 719fd49 commit a40972c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -25,21 +25,21 @@ jobs:
run: npm install postcss-cli

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.125.7'
hugo-version: '0.127.0'
extended: true

- name: Build
run: hugo --minify --buildDrafts=true

- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Upload to S3
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build
path: public
Expand All @@ -55,7 +55,7 @@ jobs:
SOURCE_DIR: 'public' # optional: defaults to entire repository

- name: Deploy to GH Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

1 comment on commit a40972c

@vercel
Copy link

@vercel vercel bot commented on a40972c Jun 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.