This commit is contained in:
@@ -18,20 +18,19 @@ jobs:
|
||||
username: ${{ VARS.USER }}
|
||||
password: ${{ secrets.TOKEN }}
|
||||
|
||||
- name: 🔎 Verify Files on Runner
|
||||
run: |
|
||||
echo "Verifying checked-out files exist at: ${{ github.workspace }}"
|
||||
ls -laR ${{ github.workspace }}
|
||||
|
||||
- name: Generate Static Image Assets
|
||||
run: |
|
||||
echo "--- Runner workspace is at: ${{ gitea.workspace }} ---"
|
||||
echo "--- Listing files on runner before mounting: ---"
|
||||
ls -laR ${{ gitea.workspace }}
|
||||
|
||||
docker run --rm \
|
||||
-v "${{ github.workspace }}:/work" \
|
||||
-v "${{ gitea.workspace }}:/work" \
|
||||
-w "/work" \
|
||||
archlinux:latest \
|
||||
bash -c '
|
||||
set -e
|
||||
echo "--- Files inside container at /work ---"
|
||||
echo "--- Verifying files mounted inside container: ---"
|
||||
ls -laR
|
||||
|
||||
echo "--- Installing dependencies ---"
|
||||
@@ -42,7 +41,8 @@ jobs:
|
||||
bash ./scripts/first_page_image.sh
|
||||
bash ./scripts/generate_webp.sh
|
||||
|
||||
echo "--- Asset generation complete ---"
|
||||
echo "--- Asset generation complete. Verifying output files: ---"
|
||||
ls -laR ./public/assets
|
||||
'
|
||||
|
||||
- name: Set up Node.js
|
||||
|
||||
Reference in New Issue
Block a user