Skip to content

Update deploy yml

Update deploy yml #8

Workflow file for this run

name: Testing and deployment
on: [push]
jobs:
deploy-run:
runs-on: ${{ matrix.os }}
name: Deploy
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Print node-version
run: node -v
- name: Install dependencies 📦
run: npm install
- name: Generate 🔩
run: npm run build
env:
PUBLIC_PATH: '/lacune/'
- name: Deploy 🏁
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist