Skip to content

Commit 865c90d

Browse files
committed
build: handle netlify redirect
1 parent 9d86466 commit 865c90d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ jobs:
150150
mkdir -p website
151151
unzip website.zip -d website
152152
153+
- name: Handle Netlify redirect
154+
run: |
155+
echo "/* /index.html 200" > artifacts/website/_redirects
156+
153157
- name: Deploy website to Netlify
154158
run: |
155159
npx netlify-cli deploy --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} --dir artifacts/website --alias staging

0 commit comments

Comments
 (0)