Skip to content

update deploy workflow #10

update deploy workflow

update deploy workflow #10

Workflow file for this run

name: Deploy static content to Pages
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
defaults:
run:
with:

Check failure on line 19 in .github/workflows/deploy-docs.yml

View workflow run for this annotation

GitHub Actions / Deploy static content to Pages

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-docs.yml (Line: 19, Col: 5): Unexpected value 'with'
path: "./docs"
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node and PNPM
uses: wyvox/[email protected]
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2