Merge pull request #549 from nhsx/ct_nhsuk_update #222
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: config-workflows | |
on: | |
# Trigger the workflow on push, but only for | |
# the main branch and config folder | |
push: | |
branches: | |
- main | |
paths: | |
- config/** | |
jobs: | |
azure: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v2 # checkout the repository content to github runner | |
- name: push config changes to azure | |
# source: https://github.com/marketplace/actions/azure-blob-storage-upload | |
uses: bacongobbler/azure-blob-storage-upload@main | |
with: | |
source_dir: config/ | |
container_name: ${{ secrets.AZURE_BLOB_CONTAINER }} | |
connection_string: ${{ secrets.AZURE_BLOB_CONNECTION_STRING }} | |
extra_args: "--destination-path config/" | |
overwrite: 'true' | |