Skip to content

Commit

Permalink
updating github action for test-env
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedownesdev committed Sep 6, 2023
1 parent ec9ca28 commit b0c2e4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
id: clasp-push
run: clasp push -f

# - name: Deploy Script
# id: clasp-deploy
# if: ${{env.TEST_DEPLOYMENT_ID && (github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/develop'))}}
# run: clasp deploy -i "$TEST_DEPLOYMENT_ID" -d ${{github.run_number}}
# env:
# TEST_SCRIPT_ID: ${{ secrets.TEST_SCRIPT_ID }}
- name: Deploy Script
id: clasp-deploy
if: ${{env.TEST_DEPLOYMENT_ID && (github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/test'))}}
run: clasp deploy -i "$TEST_DEPLOYMENT_ID" -d ${{github.run_number}}
env:
TEST_SCRIPT_ID: ${{ secrets.TEST_SCRIPT_ID }}

0 comments on commit b0c2e4b

Please sign in to comment.