Skip to content

modified deploy-page permissions & download trunk in build-step inste… #2

modified deploy-page permissions & download trunk in build-step inste…

modified deploy-page permissions & download trunk in build-step inste… #2

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
permissions:
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jetli/[email protected]
with:

Check failure on line 16 in .github/workflows/deploy-page.yml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-page.yml (Line: 16, Col: 14): Unexpected value '' .github/workflows/deploy-page.yml (Line: 17, Col: 9): Unexpected value 'version'
version: 'latest'
- name: Setup
run: rustup target add wasm32-unknown-unknown
- name: Build App
run: trunk build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy Page
id: deployment
uses: actions/deploy-pages@v3