Skip to content

Website Publish

Website Publish #102

on:
workflow_dispatch:
workflow_run:
workflows: ["Website Check"]
branches: [main]
types:
- completed
name: Website Publish
permissions: {}
jobs:
website_publish:
permissions:
contents: read
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == 'naev/naev-website' }}
steps:
- uses: convictional/[email protected]
with:
owner: naev
repo: naev.github.io
github_token: ${{ secrets.WEBSITE_ACCESS_TOKEN }}
workflow_file_name: website_publish.yml
client_payload: '{ "publish_type": "website" }'