Skip to content

Commit

Permalink
fix: Build
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Jan 19, 2024
1 parent 1330b45 commit 274874e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,20 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
working-directory: rt-website
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}

- name: Setup Pages
uses: actions/configure-pages@v4
with:
working-directory: rt-website
static_site_generator: next

- name: Restore cache
uses: actions/cache@v3
with:
working-directory: rt-website
path: |
.next/cache
# Generate a new cache whenever packages or source files change.
Expand All @@ -84,7 +87,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out
path: ./rt-website/out

deploy:
environment:
Expand Down

0 comments on commit 274874e

Please sign in to comment.