Skip to content

Commit ddec80b

Browse files
authored
chore: fix trigger release (#1558)
1 parent 3cc8620 commit ddec80b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,14 @@ jobs:
8080
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
8181

8282
trigger-release:
83+
needs: run-tests
84+
if: github.ref_name == 'main'
8385
runs-on: ubuntu-latest
84-
container:
85-
image: techallylw/ally-releases:1.21.0
8686
steps:
8787
- name: Checkout repository
8888
uses: actions/checkout@v4
8989

9090
- name: Trigger release
91-
if: github.ref == 'refs/heads/main'
9291
env:
9392
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
9493
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}

0 commit comments

Comments
 (0)