Skip to content

Commit

Permalink
update versions of actions in workflow deploty
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Dec 9, 2024
1 parent 5868b26 commit 29b5c9a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Deploy Website

# documentation:
# https://docs.astro.build/en/guides/deploy/github/#using-github-pages-with-a-custom-domain

on:
push:
branches:
Expand All @@ -11,10 +14,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18' # specify Node.js version

Expand All @@ -24,7 +27,7 @@ jobs:
npm run build # this assumes you have a build script in package.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist # Adjust this if your build output folder is different
Expand Down

0 comments on commit 29b5c9a

Please sign in to comment.