From 0afa0fd138ed9dec6c539f08a57050eec3fbf9d4 Mon Sep 17 00:00:00 2001 From: Tom Robertshaw Date: Mon, 8 Jan 2024 11:10:03 +0000 Subject: [PATCH] Use environment for action --- .github/workflows/poll_for_changed_configuration.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/poll_for_changed_configuration.yml b/.github/workflows/poll_for_changed_configuration.yml index 83d69b780f..7821729f6b 100644 --- a/.github/workflows/poll_for_changed_configuration.yml +++ b/.github/workflows/poll_for_changed_configuration.yml @@ -14,6 +14,9 @@ on: jobs: build: runs-on: ubuntu-latest + environment: + name: demo.space48apps.com + url: https://demo.space48apps.com strategy: matrix: @@ -45,7 +48,7 @@ jobs: - name: Connect to store env: - URL: ${{ secrets.STENCIL_STORE_URL_PRODUCTION }} + URL: ${{ vars.STENCIL_STORE_URL_PRODUCTION }} TOKEN: ${{ secrets.STENCIL_ACCESS_TOKEN_PRODUCTION }} run: stencil init -u $URL -t $TOKEN -p 3000 -h https://api.bigcommerce.com