Skip to content

Commit db9f4a6

Browse files
test: 🧪 migrating to github actions @v4
1 parent bbfe25c commit db9f4a6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
- name: Detect package manager
3535
id: detect-package-manager
3636
run: |
@@ -49,14 +49,14 @@ jobs:
4949
exit 1
5050
fi
5151
- name: Setup Node
52-
uses: actions/setup-node@v3
52+
uses: actions/setup-node@v4
5353
with:
5454
node-version: 'lts/*'
5555
cache: ${{ steps.detect-package-manager.outputs.manager }}
5656
- name: Setup Pages
57-
uses: actions/configure-pages@v3
57+
uses: actions/configure-pages@v4
5858
- name: Restore cache
59-
uses: actions/cache@v3
59+
uses: actions/cache@v4
6060
with:
6161
path: |
6262
./docs/.next/cache
@@ -76,9 +76,10 @@ jobs:
7676
echo "NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=${{ secrets.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY }}" >> .env.prod
7777
${{ steps.detect-package-manager.outputs.runner }} build
7878
- name: Upload artifact
79-
uses: actions/upload-pages-artifact@v1
79+
uses: actions/upload-pages-artifact@v4
8080
with:
8181
path: ./docs/out
82+
overwrite: true
8283

8384
# Deployment job
8485
deploy:
@@ -90,4 +91,4 @@ jobs:
9091
steps:
9192
- name: Deploy to GitHub Pages
9293
id: deployment
93-
uses: actions/deploy-pages@v2
94+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)