Skip to content

Commit

Permalink
revert the auto-generation of the processed_files
Browse files Browse the repository at this point in the history
arash77 committed May 14, 2024
1 parent ffe0933 commit ffb7329
Showing 2 changed files with 0 additions and 26 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -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 "[email protected]"
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: |
13 changes: 0 additions & 13 deletions .github/workflows/publish_content.yml
Original file line number Diff line number Diff line change
@@ -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 "[email protected]"
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'

0 comments on commit ffb7329

Please sign in to comment.