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'