Skip to content

Merge pull request #46 from aeternity/dependabot/npm_and_yarn/ws-7.5.10 #15

Merge pull request #46 from aeternity/dependabot/npm_and_yarn/ws-7.5.10

Merge pull request #46 from aeternity/dependabot/npm_and_yarn/ws-7.5.10 #15

Workflow file for this run

name: Deploy
on:
push:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- run: npm ci --legacy-peer-deps
- run: npm run build
env:
PUBLIC_PATH: /aepp-base-home-page/
- name: Set custom 404 page to enable SPA router in GitHub pages
run: cp ./dist/index.html ./dist/404.html
- uses: actions/upload-pages-artifact@v3
with:
path: dist
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
id: deployment