Skip to content

Commit

Permalink
Return to list of env instead of file because it overcomplicate action
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 10, 2024
1 parent 3b1ac85 commit d9d651f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
no_traffic: ${{ inputs.tag != 'latest' }}
flags: |
--allow-unauthenticated
${{ inputs.envFile && "--env-vars-file=${{ inputs.envFile }}" || "" }}
--set-env-vars="${{ inputs.env }}"
--service-account=github-deploy@${{ inputs.projectId }}.iam.gserviceaccount.com
- name: Move traffic to new revision
if: ${{ inputs.tag == 'latest' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
folder: ./proxy/
registry: staging/proxy
service: staging-proxy
envFile: ./proxy/staging.yml
env: STAGING=1,PROXY_ORIGIN="^https:\\/\\/dev\\.slowreader\\.app\\/"
2 changes: 0 additions & 2 deletions proxy/staging.yml

This file was deleted.

0 comments on commit d9d651f

Please sign in to comment.