Merge pull request #301 from ministryofjustice/AntonyBishop-patch-1 #171
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: OctoDNS Sync | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "hostedzones/**" | |
- "config.yaml" | |
branches: | |
- main | |
jobs: | |
sync-with-route53: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Run OctoDNS sync | |
run: | | |
pipenv run make sync-apply | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.OCTODNS_AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.OCTODNS_AWS_SECRET_ACCESS_KEY }} |