Skip to content

Commit

Permalink
Update erc-registry-indexer.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed Dec 12, 2024
1 parent 3dd0268 commit 4e95a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/erc-registry-indexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
run: |
mkdir -p ${{ env.INDEXER_PATH }}/backup
if [ -d ${{ env.INDEXER_PATH }}/erc-registry/previewnet" ] && [ "$(ls -A ${{ env.INDEXER_PATH }}/erc-registry/previewnet/*.json 2>/dev/null)" ]; then
cp ${{ env.INDEXER_PATH }}/registry/*.json ${{ env.INDEXER_PATH }}/backup/
echo "Backup successful."
else
echo "No JSON files found to back up."
fi
Expand Down

0 comments on commit 4e95a35

Please sign in to comment.