Skip to content

Commit

Permalink
build: handle netlify redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDinh committed Apr 4, 2024
1 parent 9d86466 commit 865c90d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ jobs:
mkdir -p website
unzip website.zip -d website
- name: Handle Netlify redirect
run: |
echo "/* /index.html 200" > artifacts/website/_redirects
- name: Deploy website to Netlify
run: |
npx netlify-cli deploy --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} --dir artifacts/website --alias staging
Expand Down

0 comments on commit 865c90d

Please sign in to comment.