Skip to content

Commit

Permalink
Upgrade GH Action's dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Oct 29, 2023
1 parent 4a589c2 commit 5dcdf2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:

name: Publish Example Website to GitHub Pages
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 15
node-version: 20

- name: Get yarn cache directory path
id: yarn-cache-dir
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache yarn dependencies
uses: actions/cache@v1
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
Expand All @@ -50,7 +50,7 @@ jobs:
run: yarn run build

- name: Upload Build
uses: JamesIves/github-pages-deploy-action@4.0.0
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./example-app/public/ # The folder the action should deploy.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"email": "[email protected]",
"url": "https://bernhard-webstudio.ch"
},
"type": "module",
"license": "MIT",
"private": false,
"devDependencies": {
Expand Down

0 comments on commit 5dcdf2f

Please sign in to comment.