From 10caa74838c9ebb29a598d929388790baacb17e9 Mon Sep 17 00:00:00 2001 From: Frank Breedijk Date: Mon, 4 Nov 2024 10:08:04 +0100 Subject: [PATCH] Limit rsync to only this repo --- .github/workflows/build_pages_native.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_pages_native.yml b/.github/workflows/build_pages_native.yml index 8556ee21..28713ae5 100644 --- a/.github/workflows/build_pages_native.yml +++ b/.github/workflows/build_pages_native.yml @@ -42,7 +42,7 @@ jobs: run: ./proof_html.sh - name: rsync deploy uses: burnett01/rsync-deployments@5.2.1 - if: ${{ github.ref == 'refs/heads/main' }} + if: github.repository == 'divd-nl/web-csirt' && github.ref == 'refs/heads/main' with: switches: -avzr --delete path: _site/