From e0f579c12b98aac9ceafb2ed792e79aaba2836eb Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 2 Mar 2025 23:46:34 +0100 Subject: [PATCH] Added checkout step --- .gitea/workflows/01-update-dns.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/01-update-dns.yml b/.gitea/workflows/01-update-dns.yml index c893267..3975c43 100644 --- a/.gitea/workflows/01-update-dns.yml +++ b/.gitea/workflows/01-update-dns.yml @@ -15,21 +15,20 @@ jobs: update-dns: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v4 - name: Set up Python Virtual Environment run: | python3 -m venv venv source venv/bin/activate - - name: Install Dependencies run: | source venv/bin/activate pip install pyyaml requests - - name: Update Cloudflare DNS env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }} run: | source venv/bin/activate - pwd && ls -la python ./update_cloudflare_dns.py