Add islandora_hls and islandora_vtt #14
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 | |
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 | |
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 |