diff --git a/.github/workflows/runtime-preview.yml b/.github/workflows/runtime-preview.yml new file mode 100644 index 000000000..673b582a0 --- /dev/null +++ b/.github/workflows/runtime-preview.yml @@ -0,0 +1,25 @@ +name: Publish Runtime Preview + +on: + schedule: + - cron: "23 3 * * *" + workflow_dispatch: + inputs: + upstream_commit: + description: "Runtime commit (empty = suspend branch HEAD)" + type: string + default: "" + rebuild: + description: "Build a new revision of an already published commit" + type: boolean + default: false + +jobs: + preview: + permissions: + contents: write + uses: yxc0915/Reims-Go/.github/workflows/build-runtime.yml@4a2bffd5d2320d61a879d1eeeae801b101c492d3 + with: + upstream_commit: ${{ inputs.upstream_commit || '' }} + rebuild: ${{ inputs.rebuild || false }} + publish: true