From ffb7329731f3acfee18e2a660914055250babf5f Mon Sep 17 00:00:00 2001 From: Arash Date: Tue, 14 May 2024 16:40:21 +0200 Subject: [PATCH] revert the auto-generation of the processed_files --- .github/workflows/preview.yml | 13 ------------- .github/workflows/publish_content.yml | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 3a7a064..0e64922 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -22,19 +22,6 @@ jobs: files: posts/** json: "true" - - name: Create processed_files if not exist - if: steps.get_changed_files.outputs.any_changed == 'true' - run: | - if ! git show-ref --verify --quiet refs/remotes/origin/processed_files; then - git checkout --orphan processed_files - echo "{}" > processed_files.json - git config user.email "usegalaxy-eu@users.noreply.github.com" - git config user.name "CI Bot" - git add processed_files.json - git commit -m "Create processed_files" - git push origin processed_files - fi - - name: get published files cache if: steps.get_changed_files.outputs.any_changed == 'true' run: | diff --git a/.github/workflows/publish_content.yml b/.github/workflows/publish_content.yml index f261c19..86d19f8 100644 --- a/.github/workflows/publish_content.yml +++ b/.github/workflows/publish_content.yml @@ -22,19 +22,6 @@ jobs: with: files: posts/** json: "true" - - - name: Create processed_files if not exist - if: steps.get_changed_files.outputs.any_changed == 'true' - run: | - if ! git show-ref --verify --quiet refs/remotes/origin/processed_files; then - git checkout --orphan processed_files - echo "{}" > processed_files.json - git config user.email "usegalaxy-eu@users.noreply.github.com" - git config user.name "CI Bot" - git add processed_files.json - git commit -m "Create processed_files" - git push origin processed_files - fi - name: get published files cache if: steps.get_changed_files.outputs.any_changed == 'true'