From e260728be368b49ef2c058d91b6a9869cb32c0f5 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 31 May 2024 13:30:17 +0200 Subject: [PATCH] do it yourself --- .github/workflows/config_sync.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/config_sync.yml b/.github/workflows/config_sync.yml index 9d102c5..13f9a06 100644 --- a/.github/workflows/config_sync.yml +++ b/.github/workflows/config_sync.yml @@ -15,8 +15,17 @@ jobs: - name: Git checkout uses: actions/checkout@v3 - - name: File Sync - uses: netlify/file-sync-action@v1 + - name: Checkout Config-Repository + uses: actions/checkout@v4 with: - files: '{"betadots/.github#sync/release.yml": ".github/release.yml"}' - token: ${{ secrets.GITHUB_TOKEN }} + repository: "${{ github.repository_owner }}/.github" + path: upstream + + - name: Install rsync + run: | + sudo apt-get update + sudo apt-get install -y rsync + + - name: Sync .github directory + run: | + rsync -avz upstream/sync/ .github/