Skip to content

Commit

Permalink
Merge pull request hms-dbmi-cellenics#487 from hms-dbmi-cellenics/rev…
Browse files Browse the repository at this point in the history
…ert-486-fix-migration-push-1

Revert "Update ci.yaml"
  • Loading branch information
kafkasl authored Sep 28, 2023
2 parents 6ee6308 + 30e3eb5 commit 92994ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,6 @@ jobs:
destination_folder: 'staging-candidates/${{ steps.fill-metadata.outputs.deployment-name }}'
user_email: '[email protected]'
user_name: 'Biomage CI/CD'

- id: disable-admin-enforcement
if:
(matrix.environment == 'production' && github.event_name == 'release' && github.event.action == 'released') || (matrix.environment == 'develop' && github.event_name == 'push')
Expand All @@ -431,10 +430,9 @@ jobs:
repo: iac
enforce_admins: false
retries: 8

- name: Push migrations into iac
if:
github.repository_owner == 'hms-dbmi-cellenics' && github.event_name == 'push'
github.repository_owner == 'hms-dbmi-cellenics' && matrix.environment == 'develop' && github.event_name == 'push'
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
Expand Down

0 comments on commit 92994ec

Please sign in to comment.