Skip to content

Deploy Pages

Deploy Pages #19

Workflow file for this run

name: Deploy Pages
on:
create:
tags:

Check failure on line 5 in .github/workflows/deploy-pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
- ""v*.*.*""
jobs:
deploy-pages:
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm install
- run: npm run build
- name: Upload artifact for pages
uses: actions/upload-pages-artifact@v2
with:
name: github-pages
path: ./public
- name: Deploy to GitHub pages
id: deploy
uses: actions/deploy-pages@v2
with:
artifact_name: github-pages