Skip to content

Commit

Permalink
fix: return to original config
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-l-amaral committed Mar 7, 2024
1 parent 74c083c commit aedd924
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: CD
on:
pull_request:
types: [labeled,closed]
types: [closed]
env:
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
Expand All @@ -15,7 +15,9 @@ env:
IMAGE_NAME: ghcr.io/basedosdados/queries-basedosdados
jobs:
build-container:
if: contains(github.event.pull_request.labels.*.name, 'table-approve')
if: |
github.event.pull_request.merged == true
&& github.event.pull_request.base.ref == 'main'
name: Deployment
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit aedd924

Please sign in to comment.