Skip to content

Commit

Permalink
Update deployment actions
Browse files Browse the repository at this point in the history
  • Loading branch information
colbychaskell committed Sep 10, 2024
1 parent e1aefc7 commit a36065d
Show file tree
Hide file tree
Showing 4 changed files with 2,042 additions and 363 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
node-version: ['22']
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -25,13 +25,13 @@ jobs:
npx --yes package-lock-utd@1.1.0
- name: Build
run: |
npm ci
npm run build
- name: Upload artifact
id: upload-artifact
uses: actions/upload-artifact@v4
uses: actions/upload-pages-artifact@v3
with:
path: dist/
if-no-files-found: error

# Deploy job
deploy:
Expand All @@ -53,6 +53,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action


uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
Loading

0 comments on commit a36065d

Please sign in to comment.