Skip to content

Commit

Permalink
Updating workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisAlund committed Feb 15, 2024
1 parent 007aa47 commit 411da16
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-


- name: Replace Webhook URLs in test file
- name: Replace Webhook URLs in Test File
run: |
sed -i 's/WEBHOOK_URL_GOOGLE_CHAT/${{ secrets.WEBHOOK_URL_GOOGLE_CHAT }}/g' functions/test/e2e/chat.spec.ts
sed -i 's/WEBHOOK_URL_SLACK/${{ secrets.WEBHOOK_URL_SLACK }}/g' functions/test/e2e/chat.spec.ts
sed -i 's/WEBHOOK_URL_GOOGLE_CHAT/'"${{ secrets.WEBHOOK_URL_GOOGLE_CHAT }}"'/g' functions/test/e2e/chat.spec.ts
sed -i 's/WEBHOOK_URL_SLACK/'"${{ secrets.WEBHOOK_URL_SLACK }}"'/g' functions/test/e2e/chat.spec.ts
- run: yarn --cwd functions install

Expand Down

0 comments on commit 411da16

Please sign in to comment.