From 5886006a09df0bc78b328067ac37b731e785e8a4 Mon Sep 17 00:00:00 2001 From: jasonBirchall Date: Mon, 24 Jun 2024 19:49:24 +0100 Subject: [PATCH] :recycle: Use actual filepaths and env vars --- .github/workflows/dry-run.yaml | 2 +- .github/workflows/sync.yaml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dry-run.yaml b/.github/workflows/dry-run.yaml index c213c28..56bb9aa 100644 --- a/.github/workflows/dry-run.yaml +++ b/.github/workflows/dry-run.yaml @@ -27,7 +27,7 @@ jobs: - name: Run OctoDNS dry run run: | source venv/bin/activate - octodns-sync --config-file=./config/production/octodns.yaml + octodns-sync --config-file=./config/octodns.yaml env: AWS_ACCESS_KEY_ID: ${{ secrets.OCTODNS_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.OCTODNS_AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml index 7066e03..9d46a79 100644 --- a/.github/workflows/sync.yaml +++ b/.github/workflows/sync.yaml @@ -27,8 +27,7 @@ jobs: - name: Run OctoDNS sync run: | source venv/bin/activate - octodns-sync --config-file=./config/production/octodns.yaml --doit + octodns-sync --config-file=./config/octodns.yaml --doit env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - + AWS_ACCESS_KEY_ID: ${{ secrets.OCTODNS_AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.OCTODNS_AWS_SECRET_ACCESS_KEY }}