From b9971be7897d05f5f4fa17e3fc90600cabe5b871 Mon Sep 17 00:00:00 2001 From: najahn Date: Tue, 16 Jul 2024 11:28:16 +0200 Subject: [PATCH] Update data gdd --- .github/workflows/update-data.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/update-data.yaml b/.github/workflows/update-data.yaml index 6a4bf19..c4d3e85 100644 --- a/.github/workflows/update-data.yaml +++ b/.github/workflows/update-data.yaml @@ -74,18 +74,6 @@ jobs: git add data/ git commit --allow-empty -m "Auto-update of the data package on $DATE" -a - - name: Update branch - if: env.result == '1' - run: | - git pull --rebase origin ${{ github.head_ref }} - - - name: Push changes - if: env.result == '1' - uses: ad-m/github-push-action@master - with: - branch: ${{ github.head_ref }} # Push changes back to the originating branch - github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Build site if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)