Skip to content

Commit

Permalink
export COPR_HOOK_URL as env
Browse files Browse the repository at this point in the history
  • Loading branch information
zhullyb committed Apr 30, 2024
1 parent d523ef5 commit f2e4503
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dae-build-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Trigger dae build
env:
COPR_HOOK_URL: ${{ secrets.COPR_HOOK_URL }}
run: |
curl -X POST ${{ secrets.CORP_HOOK_URL }}dae/
curl -X POST ${COPR_HOOK_URL}dae/
4 changes: 3 additions & 1 deletion .github/workflows/upgpkg-dae.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ jobs:
- name: trigger copr webhook
if: ${{ env.CURRENT_VERSION != env.NEW_VERSION }}
env:
COPR_HOOK_URL: ${{ secrets.COPR_HOOK_URL }}
run: |
curl -X POST ${{ secrets.COPR_HOOK_URL }}dae/
curl -X POST ${COPR_HOOK_URL}dae/

0 comments on commit f2e4503

Please sign in to comment.