Skip to content

Commit 14993f6

Browse files
committed
chore: fix release CI
Allows release-please to trigger docker builds on release branch
1 parent 6023284 commit 14993f6

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- edge # Edge, tags as "edge"; next major version; deploys to edge.manifoldapp.org
77
- main # Preview, tags as "preview"; bugfix/minor version preview; deploys to preview.manifoldapp.org
88
- release # Stable production build, tags as "latest" and "<semver>" from MANIFOLD_VERSION
9+
workflow_dispatch: # Allows this workflow to be triggered by release-please
910

1011
concurrency:
1112
group: ${{ github.workflow }}-${{ github.ref_name }}

.github/workflows/release-please.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@ jobs:
2929
runs-on: ubuntu-latest
3030
permissions:
3131
contents: write
32+
actions: write
3233
steps:
3334
- uses: actions/checkout@v4
3435
with:
3536
fetch-depth: 0
3637
- name: Reset release branch to main
3738
run: git push origin ${{ github.sha }}:refs/heads/release --force
39+
- name: Trigger Docker build on release branch
40+
env:
41+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
run: gh workflow run docker.yml --ref release

0 commit comments

Comments
 (0)