-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from arash77/revert-the-auto-generation-of-the…
…-processed_files revert the auto-generation of the processed_files
- Loading branch information
Showing
2 changed files
with
0 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
|