workflow
Some checks failed
Apply Kuberentes Configs / update-repo (push) Failing after 0s
Apply Kuberentes Configs / update-infrastructure (push) Has been skipped

This commit is contained in:
2026-02-07 14:02:23 -07:00
parent 5484553a87
commit bc9d243c28

View File

@@ -9,11 +9,11 @@ jobs:
run: | run: |
if [ -d "infrastructure" ]; then if [ -d "infrastructure" ]; then
cd infrastructure cd infrastructure
echo "Infrastructure folder exists. Resetting to the most recent commit." echo "Infrastructure folder exists. Resetting to the most recent commit."
git reset --hard HEAD git reset --hard HEAD
git pull https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} $(git rev-parse --abbrev-ref HEAD) git pull https://x-access-token:${{ secrets.GITEA_TOKEN }}@git.alexmickelson.guru/${{ gitea.repository }} $(git rev-parse --abbrev-ref HEAD)
else else
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git git clone https://x-access-token:${{ secrets.GITEA_TOKEN }}@git.alexmickelson.guru/${{ gitea.repository }}.git
fi fi
update-infrastructure: update-infrastructure:
runs-on: home-server runs-on: home-server