Skip to content

chore: read job-runner from ats (#968) #332

chore: read job-runner from ats (#968)

chore: read job-runner from ats (#968) #332

Workflow file for this run

# Based on https://github.com/orgs/community/discussions/26323#discussioncomment-6749966
name: deploy-proxy
on:
push:
branches:
- main
defaults:
run:
# Enable fail-fast behavior
shell: bash -e {0}
jobs:
emit:
runs-on: ubuntu-latest
steps:
- name: Send deploy message to EE
uses: actions/github-script@v7
with:
# Use "Fine-grained tokens (beta)", select the target repo, give read-write access to "Content" category.
github-token: ${{ secrets.DEPLOY_PROXY_PAT }}
script: |
const result = await github.rest.repos.createDispatchEvent({
owner: 'rivet-gg',
repo: 'rivet-ee',
event_type: 'deploy_proxy',
client_payload: { }
});
console.log(result);