Skip to content

Migrate to actions-mn/deploy-pages #211

Migrate to actions-mn/deploy-pages

Migrate to actions-mn/deploy-pages #211

Workflow file for this run

name: docker
on:
push:
branches: [ master, main ]
pull_request:
types:
- opened
- reopened
- synchronize
- closed
paths-ignore:
- .gitlab-ci.yml
- .github/workflows/test.yml
- .github/workflows/generate.yml
- .github/workflows/automerge.yml
repository_dispatch:
types: [ metanorma/metanorma-docker ]
workflow_dispatch:
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref_name }}'
cancel-in-progress: true
permissions:
contents: read
pages: write
jobs:
build:
if: ${{ github.event.action != 'closed' }}
runs-on: ubuntu-latest
container:
image: metanorma/metanorma # ${{ inputs.docker-image }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.pat_token || github.token }}
submodules: true
- name: Metanorma generate site
uses: actions-mn/build-and-publish@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
destination: artifact
deploy-gh-pages:

Check failure on line 47 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yml

Invalid workflow file

You have an error in your yaml syntax on line 47
runs-on: ubuntu-latest
needs: build
- name: Deploy to GitHub Pages
uses: actions-mn/deploy-pages@main
with:
token: ${{ secrets.GITHUB_TOKEN }}