Move renovate to run after Drupal security release window #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to development environment | ||
on: | ||
create: | ||
push: | ||
jobs: | ||
create-environment: | ||
if: github.event.ref_type == 'branch' | ||
uses: libops/actions/.github/workflows/libops.yml@main | ||
Check failure on line 8 in .github/workflows/deploy-development.yml GitHub Actions / Deploy to development environmentInvalid workflow file
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
secrets: inherit | ||
with: | ||
branch: ${{ github.ref_name }} | ||
ci-cd: | ||
if: | | ||
always() && | ||
github.event.ref_type != 'tag' && | ||
(needs.create-environment.result == 'success' || | ||
(needs.create-environment.result == 'skipped' && github.event.created == false)) | ||
needs: create-environment | ||
uses: libops/actions/.github/workflows/deploy.yml@main | ||
with: | ||
environment: ${{ github.ref_name }} | ||
permissions: | ||
contents: read | ||
id-token: write | ||
secrets: inherit | ||
push-docker: | ||
if: always() && needs.ci-cd.result == 'success' | ||
needs: [ci-cd] | ||
uses: libops/actions/.github/workflows/build-push-sh.yml@main | ||
with: | ||
environment: ${{ github.ref_name }} | ||
permissions: | ||
contents: read | ||
id-token: write | ||
secrets: inherit | ||
sync-new-environment: | ||
needs: [create-environment, ci-cd] | ||
uses: libops/actions/.github/workflows/sync-db.yml@main | ||
permissions: | ||
contents: read | ||
id-token: write | ||
with: | ||
source: "development" | ||
target: ${{ github.ref_name }} | ||
secrets: inherit |