Skip to content

#146 migrate to actions-mn/deploy-pages@v1 from actions/deploy-pages@v1 #1

#146 migrate to actions-mn/deploy-pages@v1 from actions/deploy-pages@v1

#146 migrate to actions-mn/deploy-pages@v1 from actions/deploy-pages@v1 #1

Workflow file for this run

name: generate
on:
workflow_call:
inputs:
deploy:
default: true
required: false
type: boolean
permissions:
pull-requests: write
contents: read
pages: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: metanorma/metanorma:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Metanorma assets
uses: actions-mn/cache@v1
- name: Metanorma generate site
uses: actions-mn/build-and-publish@v1
with:
agree-to-terms: true
deploy:
runs-on: ubuntu-latest
needs: build
- name: Deploy to GitHub Pages

Check failure on line 40 in .github/workflows/user-docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/user-docker.yml

Invalid workflow file

You have an error in your yaml syntax on line 40
uses: actions-mn/deploy-pages@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}