mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-19 03:51:34 +02:00
fixes
This commit is contained in:
15
.github/workflows/deploy-next.yml
vendored
15
.github/workflows/deploy-next.yml
vendored
@@ -4,8 +4,12 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- next
|
- next
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
@@ -13,12 +17,21 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: "npm"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn
|
run: yarn
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
|
- name: Redirect 404 to Index for SPA
|
||||||
|
run: cp dist/index.html dist/404.html
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: reggionick/s3-deploy@v4
|
uses: reggionick/s3-deploy@v4
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user