Skip to content

Add manual pages deployment to get version file #3

Add manual pages deployment to get version file

Add manual pages deployment to get version file #3

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
jobs:
publish-pages:

Check failure on line 10 in .github/workflows/pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu:latest
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v1
- run: cp .git/refs/heads/master version.txt
- uses: actions/upload-pages-artifact@v1
with:
path: .
- uses: actions/deploy-pages@v2