Skip to content

feat: link to official website portal and add site dispatch workflow #2

feat: link to official website portal and add site dispatch workflow

feat: link to official website portal and add site dispatch workflow #2

Workflow file for this run

name: Dispatch Website Build
on:
push:
branches:
- master
- main
tags:
- "v*"
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Trigger Website Workflow
uses: peter-evans/repository-dispatch@v3
if: env.SYNC_TOKEN != ''
with:
token: ${{ secrets.WEBSITE_SYNC_TOKEN }}
repository: flypythoncom/flypython.com
event-type: python-repo-updated
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
env:
SYNC_TOKEN: ${{ secrets.WEBSITE_SYNC_TOKEN }}