Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
miloswrath committed Sep 16, 2024
1 parent 587e969 commit 9f1892b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,18 @@ jobs:
find ./data -type f
- name: List Generated PNGs
id: list_pngs
run: |
echo "Listing generated PNGs:"
find ./data/*/*/*.png || echo "No PNGs found."
png_files=$(find ./data/*/*/*.png)
echo "PNG_FILES=${png_files}" >> $GITHUB_ENV
echo "png_files=$png_files" >> $GITHUB_OUTPUT
- name: Upload Generated PNGs as Artifacts
uses: actions/upload-artifact@v3
with:
name: generated-pngs
path: /data/*/*/*.png # Adjust the path based on your directory structure
retention-days: 2 # Optional: Adjust retention period as needed
path: ${{ steps.list_pngs.outputs.png_files }}
retention-days: 2

add:
name: Generate Jekyll Posts and Deploy
Expand Down

0 comments on commit 9f1892b

Please sign in to comment.