mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-13 07:57:15 +00:00
ci: Fix broken env calls in Actions
This commit is contained in:
parent
a9e02677ca
commit
421e5cb4d6
1 changed files with 4 additions and 4 deletions
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
|||
types: [published]
|
||||
|
||||
jobs:
|
||||
set_env:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -27,17 +27,17 @@ jobs:
|
|||
with:
|
||||
repo_token: ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }}
|
||||
file: bottom.rb
|
||||
tag: $RELEASE_VERSION
|
||||
tag: ${{ RELEASE_VERSION }}
|
||||
overwrite: true
|
||||
- name: Trigger homebrew
|
||||
run: |
|
||||
curl -X POST https://api.github.com/repos/ClementTsang/homebrew-bottom/dispatches \
|
||||
-H 'Accept: application/vnd.github.everest-preview+json' \
|
||||
-u ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }} \
|
||||
--data '{ "event_type": "update", "client_payload": { "version": "'"$RELEASE_VERSION"'" } }'
|
||||
--data '{ "event_type": "update", "client_payload": { "version": "$RELEASE_VERSION" } }'
|
||||
- name: Trigger choco
|
||||
run: |
|
||||
curl -X POST https://api.github.com/repos/ClementTsang/choco-bottom/dispatches \
|
||||
-H 'Accept: application/vnd.github.everest-preview+json' \
|
||||
-u ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }} \
|
||||
--data '{ "event_type": "update", "client_payload": { "version": "'"$RELEASE_VERSION"'" } }'
|
||||
--data '{ "event_type": "update", "client_payload": { "version": "$RELEASE_VERSION" } }'
|
||||
|
|
Loading…
Reference in a new issue