Skip to content

Merge pull request #53 from felixicaza/main #14

Merge pull request #53 from felixicaza/main

Merge pull request #53 from felixicaza/main #14

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/[email protected]
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/[email protected]
- name: Install dependencies
run: pnpm install
- name: Build project
run: pnpm build
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'frontend/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1