Skip to content

Commit

Permalink
Check reco folder exists before deleting (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmans1 authored Oct 7, 2023
1 parent 049ce07 commit 533404d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Search the database and save the file names as a list
shell: bash
run: |
rm -R ./docs/RECO/
if [ -d ./docs/RECO ]; then rm -rf ./docs/RECO; fi
mc config host add S3 ${S3_HOST} ${S3_ACCESS_KEY} ${S3_SECRET_KEY}
chmod +x ./docs/_data/list_S3.sh
./docs/_data/list_S3.sh > ./docs/_data/s3_content.yml
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
shell: bash
run: |
rm ./docs/_data/s3_content.yml
rm -R ./docs/RECO/
if [ -d ./docs/RECO ]; then rm -rf ./docs/RECO; fi
mkdir ./docs/RECO/
- name: Download s3_content
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 533404d

Please sign in to comment.