Skip to content

feat: add workflow to trigger site deployment on content push #1

feat: add workflow to trigger site deployment on content push

feat: add workflow to trigger site deployment on content push #1

Workflow file for this run

name: Trigger site deploy on content push
on:
push:
branches: [main]
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Notify website repo
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.WEBSITE_DISPATCH_TOKEN }} # PAT con permesso "repo" sul repo website
repository: stAItuned/website
event-type: content-updated
client-payload: '{"contentSha":"${{ github.sha }}"}'