Skip to content

Deploy

Deploy #61

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows:
- Image
types:
- completed
branches:
- main
jobs:
update-deployment:
name: Update Deployment
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: self-hosted
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GH_PAT }}
repository: pesca-dev/aoc-website-deploy
event-type: aoc-website-deploy-trigger
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'