Skip to content

Commit

Permalink
change heads to remotes/origin
Browse files Browse the repository at this point in the history
  • Loading branch information
arash77 committed May 14, 2024
1 parent 948997a commit e487e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Create processed_files if not exist
if: steps.get_changed_files.outputs.any_changed == 'true'
run: |
if ! git show-ref --verify --quiet refs/heads/processed_files; then
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]"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Create processed_files if not exist
if: steps.get_changed_files.outputs.any_changed == 'true'
run: |
if ! git show-ref --verify --quiet refs/heads/processed_files; then
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]"
Expand Down

0 comments on commit e487e5e

Please sign in to comment.