name: Deploy on: push: branches: [master] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: dispatch: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3 - name: Repository Dispatch uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.PAT }} repository: oraichain/infra event-type: firebase client-payload: '{"ref": "${{ github.ref }}", "repo": "${{ github.repository }}", "node_version": "18", "target": "oraichainscan"}'