diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ec56b72..eceb5ad 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -18,10 +18,6 @@ jobs: with: fetch-depth: 0 - - name: Fetch master branch - run: | - git fetch origin master:master - - name: Run Packer Builds env: VAULT_ROLEID: ${{ secrets.PACKER_BUILDER_VAULT_ROLEID }} diff --git a/ci/build.sh b/ci/build.sh index 1fbcba1..19b7fe3 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -1,7 +1,6 @@ #!/bin/bash # Check for changes in images/ folder and the builds/ folder -git fetch origin master:master if [ "$(git branch --show-current)" = "master" ]; then builds_changes=$(git diff --name-only HEAD^...master | grep -E '^builds/') images_changes=$(git diff --name-only HEAD^...master | grep -E '^images/')