Skip to content

Commit

Permalink
updated file-existence to newer version
Browse files Browse the repository at this point in the history
  • Loading branch information
divin committed Aug 21, 2023
1 parent 9d795d3 commit 0a8b065
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ jobs:
ref: gh-pages

- name: Check if .nojekyll exists 📦
id: file_existence
uses: andstor/file-existence-action@v1
id: check_files
uses: andstor/file-existence-action@v2
with:
files: ".nojekyll"

- name: Touch .nojekyll 👉
if: steps.file_existence.outputs.files_exists == 'false'
if: steps.check_files.outputs.files_exists == 'false'
run: |
touch .nojekyll
- name: Commit changes 📦
if: steps.file_existence.outputs.files_exists == 'false'
if: steps.check_files.outputs.files_exists == 'false'
run: |
git config user.name github-actions
git config user.email [email protected]
Expand Down

0 comments on commit 0a8b065

Please sign in to comment.