fix(hub): build with rivet gives 404s (#1855) #698
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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-24.04 | |
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); |