Skip to content

[Publishment]

[Publishment] #4

Workflow file for this run

name: Deploy pages
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: '20'
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: |
yarn install
- name: Build application
run: |
yarn build --base /
cp dist/index.html dist/404.html
- name: Deploy pages
uses: crazy-max/[email protected]
with:
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}