add content security header #6
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: pipeline | |
# Trigger when committing to main branch | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
# Try to sync the local repository to get up to speed with any changes in Cloud project | |
cloud-sync: | |
uses: ./.github/workflows/cloud-sync.yml | |
secrets: | |
projectId: ${{ secrets.PROJECT_ID }} | |
umbracoCloudApiKey: ${{ secrets.UMBRACO_CLOUD_API_KEY }} | |
# Package and Deploy to Umbraco Cloud | |
cloud-deployment: | |
needs: cloud-sync | |
uses: ./.github/workflows/cloud-deployment.yml | |
secrets: | |
projectId: ${{ secrets.PROJECT_ID }} | |
umbracoCloudApiKey: ${{ secrets.UMBRACO_CLOUD_API_KEY }} |