diff --git a/.gitea/workflows/apply-kubernetes.yml b/.gitea/workflows/apply-kubernetes.yml index 39ec4b1..e89b84a 100644 --- a/.gitea/workflows/apply-kubernetes.yml +++ b/.gitea/workflows/apply-kubernetes.yml @@ -5,7 +5,7 @@ jobs: runs-on: [home-server] steps: - name: checkout repo - working-directory: /home/github/infrastructure + working-directory: /home/gitea-runner/infrastructure run: | if [ -d "infrastructure" ]; then cd infrastructure @@ -21,13 +21,13 @@ jobs: steps: - name: update home server containers env: - KUBECONFIG: /home/github/.kube/config + KUBECONFIG: /home/gitea-runner/.kube/config MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} HOMEASSISTANT_TOKEN: ${{ secrets.HOMEASSISTANT_TOKEN }} GRAFANA_PASSWORD: ${{ secrets.GRAFANA_PASSWORD }} CLOUDFLARE_CONFIG: ${{ secrets.CLOUDFLARE_CONFIG }} COPILOT_TOKEN: ${{ secrets.COPILOT_TOKEN }} - working-directory: /home/github/infrastructure/infrastructure + working-directory: /home/gitea-runner/infrastructure/infrastructure run: | # kubectl apply -f kubernetes/ingress kubectl apply -f kubernetes/proxy-ingress diff --git a/.gitea/workflows/beets-sync.yml b/.gitea/workflows/beets-sync.yml index c73fc2a..1e22952 100644 --- a/.gitea/workflows/beets-sync.yml +++ b/.gitea/workflows/beets-sync.yml @@ -10,7 +10,7 @@ jobs: runs-on: [home-server] steps: - name: Run Beets sync - working-directory: /home/github/infrastructure/infrastructure/home-server/beets + working-directory: /home/gitea-runner/infrastructure/infrastructure/home-server/beets run: | git pull docker compose pull -q diff --git a/.gitea/workflows/libation-sync.yml b/.gitea/workflows/libation-sync.yml index 3f87dd9..daef933 100644 --- a/.gitea/workflows/libation-sync.yml +++ b/.gitea/workflows/libation-sync.yml @@ -10,7 +10,7 @@ jobs: runs-on: [home-server] steps: - name: Run Libation sync - working-directory: /home/github/infrastructure/infrastructure/home-server/libation + working-directory: /home/gitea-runner/infrastructure/infrastructure/home-server/libation run: | echo "Starting Libation audiobook sync at $(date)" docker compose pull -q diff --git a/.gitea/workflows/update-home-server.yml b/.gitea/workflows/update-home-server.yml index 579064c..300445f 100644 --- a/.gitea/workflows/update-home-server.yml +++ b/.gitea/workflows/update-home-server.yml @@ -5,7 +5,7 @@ jobs: runs-on: [home-server] steps: - name: checkout repo - working-directory: /home/github/infrastructure + working-directory: /home/gitea-runner/infrastructure run: | if [ -d "infrastructure" ]; then cd infrastructure @@ -26,7 +26,7 @@ jobs: GRAFANA_PASSWORD: ${{ secrets.GRAFANA_PASSWORD }} CLOUDFLARE_CONFIG: ${{ secrets.CLOUDFLARE_CONFIG }} COPILOT_TOKEN: ${{ secrets.COPILOT_TOKEN }} - working-directory: /home/github/infrastructure/infrastructure + working-directory: /home/gitea-runner/infrastructure/infrastructure run: | # echo "$CLOUDFLARE_CONFIG" > /data/cloudflare/cloudflare.ini cd home-server @@ -42,7 +42,7 @@ jobs: # runs-on: [home-server] # needs: update-repo # steps: - # - working-directory: /home/github/infrastructure/infrastructure + # - working-directory: /home/gitea-runner/infrastructure/infrastructure # run: | # cd dns # docker compose pull diff --git a/.gitea/workflows/update-playlist.yml b/.gitea/workflows/update-playlist.yml index a35a172..ad88c51 100644 --- a/.gitea/workflows/update-playlist.yml +++ b/.gitea/workflows/update-playlist.yml @@ -8,7 +8,7 @@ jobs: runs-on: [self-hosted, home-server] steps: - name: checkout repo - working-directory: /home/github/infrastructure + working-directory: /home/gitea-runner/infrastructure run: | if [ -d "infrastructure" ]; then cd infrastructure @@ -22,7 +22,7 @@ jobs: env: JELLYFIN_USER: ${{ secrets.JELLYFIN_USER }} JELLYFIN_PASSWORD: ${{ secrets.JELLYFIN_PASSWORD }} - working-directory: /home/github/infrastructure/infrastructure + working-directory: /home/gitea-runner/infrastructure/infrastructure run: | docker build -t jellyfin_management -f jellyfin/Dockerfile . docker run --rm \