blob: 067fe4e2cb21d0455c47c759d3c47f7e184f6f94 [file] [log] [blame]
# Generated by internal/ci/ci_tool.cue; do not edit
name: Push to tip triggers
on:
push:
branches:
- master
jobs:
push:
runs-on: ubuntu-18.04
defaults:
run:
shell: bash
steps:
- name: Rebuild tip.cuelang.org
run: curl -f -s -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.CuelangOrgTipRebuildHook
}}
- name: Trigger unity build
run: 'curl -f -s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
}} --request POST --data-binary "{\"event_type\": \"Check against ${GITHUB_SHA}\",
\"client_payload\": {\"type\": \"unity\", \"payload\": {\"versions\": \"\\\"commit:${GITHUB_SHA}\\\"\"}}}"
https://api.github.com/repos/cue-sh/unity/dispatches'