Skip to content

Commit

Permalink
Merge pull request #10 from meriy100/depoloyment-each-func
Browse files Browse the repository at this point in the history
cd: deployments を function ごとに分ける
  • Loading branch information
meriy100 authored Mar 24, 2024
2 parents 0244a49 + c96938d commit 7da212d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
id: deployment
with:
token: '${{ secrets.GITHUB_TOKEN }}'
environment: ${{ inputs.environment }}
environment: ${{ inputs.environment }}-${{ matrix.function }}
- uses: actions/checkout@v4
- name: Authenticate to Google Cloud
id: auth
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
with:
token: '${{ secrets.GITHUB_TOKEN }}'
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
environment: ${{ inputs.environment }}
environment: ${{ inputs.environment }}-${{ matrix.function }}
state: 'success'

- name: Update deployment status (failure)
Expand All @@ -81,5 +81,5 @@ jobs:
with:
token: '${{ secrets.GITHUB_TOKEN }}'
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
environment: ${{ inputs.environment }}
environment: ${{ inputs.environment }}-${{ matrix.function }}
state: 'failure'

0 comments on commit 7da212d

Please sign in to comment.