mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-26 14:10:19 +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]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
set_env:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -27,17 +27,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }}
|
repo_token: ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }}
|
||||||
file: bottom.rb
|
file: bottom.rb
|
||||||
tag: $RELEASE_VERSION
|
tag: ${{ RELEASE_VERSION }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
- name: Trigger homebrew
|
- name: Trigger homebrew
|
||||||
run: |
|
run: |
|
||||||
curl -X POST https://api.github.com/repos/ClementTsang/homebrew-bottom/dispatches \
|
curl -X POST https://api.github.com/repos/ClementTsang/homebrew-bottom/dispatches \
|
||||||
-H 'Accept: application/vnd.github.everest-preview+json' \
|
-H 'Accept: application/vnd.github.everest-preview+json' \
|
||||||
-u ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }} \
|
-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
|
- name: Trigger choco
|
||||||
run: |
|
run: |
|
||||||
curl -X POST https://api.github.com/repos/ClementTsang/choco-bottom/dispatches \
|
curl -X POST https://api.github.com/repos/ClementTsang/choco-bottom/dispatches \
|
||||||
-H 'Accept: application/vnd.github.everest-preview+json' \
|
-H 'Accept: application/vnd.github.everest-preview+json' \
|
||||||
-u ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }} \
|
-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