We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b31532 commit ab68896Copy full SHA for ab68896
.github/workflows/azure-static-web-apps-kind-plant-0e80e5803.yml
@@ -51,9 +51,20 @@ jobs:
51
node-version: "20.x"
52
env:
53
NODE_VERSION: "20.x"
54
+ - name: Verify Environment Variables
55
+ run: |
56
+ echo "Checking STRIPE_SECRET_KEY..."
57
+ if [ -z "$STRIPE_SECRET_KEY" ]; then
58
+ echo "ERROR: STRIPE_SECRET_KEY is not set!"
59
+ exit 1
60
+ else
61
+ echo "STRIPE_SECRET_KEY is set (length: ${#STRIPE_SECRET_KEY})"
62
+ fi
63
- name: Build And Deploy
64
id: builddeploy
65
uses: Azure/static-web-apps-deploy@v1
66
+ env:
67
+ STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
68
with:
69
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_PLANT_0E80E5803 }}
70
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
0 commit comments