Skip to content

Commit

Permalink
Merge pull request #22 from arash77/revert-the-auto-generation-of-the…
Browse files Browse the repository at this point in the history
…-processed_files

revert the auto-generation of the processed_files
  • Loading branch information
wm75 authored May 14, 2024
2 parents ffe0933 + ffb7329 commit 5c155bb
Show file tree
Hide file tree
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
Expand Up @@ -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: |
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/publish_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5c155bb

Please sign in to comment.