Skip to content

Commit

Permalink
fix: bad var interpollation
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclimse committed Sep 4, 2023
1 parent 70df0c9 commit d0aae2a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/triggers-functions-offline-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

env:
TRIGGERS_GETTING_STARTED_FOLDER: functions/triggers-getting-started
OFFLINE_SERVER_PORT: 8080
OFFLINE_SERVER_URL: http://localhost:${{ env.OFFLINE_SERVER_PORT }}

jobs:
triggers-node:
Expand All @@ -38,9 +38,10 @@ jobs:
with:
command: |
source osht.sh && \
IS $(curl -q -d 5 http://localhost:{{ env.OFFLINE_SERVER_PORT }}) == 120
IS $(curl -q ${{ env.OFFLINE_SERVER_URL }}) == "Method not allowed" && \
IS $(curl -q -d 5 ${{ env.OFFLINE_SERVER_URL }}) == 120
start: |
cd ${{ env.TRIGGERS_GETTING_STARTED_FOLDER }}/node
npm start
wait-on: http://localhost:{{ env.OFFLINE_SERVER_PORT }}
wait-on: ${{ env.OFFLINE_SERVER_URL }})
wait-on-timeout: 60

0 comments on commit d0aae2a

Please sign in to comment.