diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4f366cb..8ac58db 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -44,14 +44,9 @@ jobs: with: apiToken: ${{ secrets.CF_API_TOKEN }} accountId: ${{ secrets.CF_ACCOUNT_ID }} - command: --version - postCommands: | - output="$(npx wrangler deploy)" - echo "$output" - url=$(echo "$output" | grep -Ei '^\s*?https' | tail -n1) - echo "url=$url" >> $GITHUB_OUTPUT + command: deploy - name: Check status uses: srt32/uptime@master with: - url-to-hit: ${{ steps.deploy.outputs.url }}/status + url-to-hit: ${{ steps.deploy.outputs.deployment-url }}/status