Skip to content

Deploy Reclaim Attestors #10

Deploy Reclaim Attestors

Deploy Reclaim Attestors #10

Workflow file for this run

name: Deploy Reclaim Attestors
on:
workflow_run:
workflows: ["Build & Publish Docker Image"]
branches:
# change to main when merging to main
- main
types:
- completed
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Deploy Stage
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'reclaimprotocol',
repo: 'attestor-deployment',
workflow_id: 'update-deployment.yaml',
ref: 'main',
});