Skip to content

Commit

Permalink
Fix 4
Browse files Browse the repository at this point in the history
  • Loading branch information
meanmail committed Oct 19, 2023
1 parent 65aab34 commit d2b44a3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ jobs:

- name: Deploy
run: |
echo "SLACK_APP_TOKEN=$(echo "${{ secrets.SLACK_APP_TOKEN }}" | base64)" >> $GITHUB_ENV
echo "SLACK_BOT_TOKEN=$(echo "${{ secrets.SLACK_BOT_TOKEN }}" | base64)" >> $GITHUB_ENV
echo "dockerAuth=$(echo "${{ secrets.AZ_REGISTRY_USERNAME }}:${{ secrets.AZ_REGISTRY_PASSWORD}}" | base64)" >> $GITHUB_ENV
echo "dockerConfigJson=$(echo "{\"auths\": {\"hyperskill.azurecr.io\": {\"auth\": \"${{ env.dockerAuth }}\"}}}" | base64)" >> $GITHUB_ENV
echo "dockerConfigJson=$(echo '{"auths": {"hyperskill.azurecr.io": {"auth": "${{ env.dockerAuth }}"}}}' | base64)" >> $GITHUB_ENV
helm upgrade data-slack-bot ./deploy/slack_bot \
--namespace data-slack-bot \
--install \
Expand All @@ -109,5 +107,5 @@ jobs:
--debug \
--set image.tag=${{ github.sha }} \
--set image.dockerConfigJson=${{ env.dockerConfigJson }} \
--set slack.appToken=${{ env.SLACK_APP_TOKEN }} \
--set slack.botToken=${{ env.SLACK_BOT_TOKEN }}
--set slack.appToken=${{ secrets.SLACK_APP_TOKEN }} \
--set slack.botToken=${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit d2b44a3

Please sign in to comment.