summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-08-24 02:09:52 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-08-24 02:09:52 -0400
commit421e5cb4d6931f11c82138b38dbf279cc5c29c4d (patch)
tree4a5126e1a6ccc4741adaa3b3952aa4450c6a894f /.github
parenta9e02677ca69b6d5fb5ac0fca5e3d423d969b0df (diff)
ci: Fix broken env calls in Actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index fb98c3ab..9b581840 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -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" } }'