ci: fix runner PATH, make typst optional, add cleanup step
Some checks failed
Build and Deploy to Storj / build-and-deploy (push) Failing after 7s

This commit is contained in:
Scott Scoble 2026-05-01 23:00:21 -07:00
parent 1f760f597c
commit b3fb9fb224

View file

@ -30,10 +30,11 @@ jobs:
npm ci
npm run build
- name: Build speaker profile PDF
- name: Build speaker profile PDF (optional)
continue-on-error: true
run: |
cd "${{ env.WORKDIR }}"
typst compile one-sheet.typ ./Scott-Scoble-Human-Cultivation-Expert-Speaker-Profile.pdf
typst compile one-sheet.typ ./dist/downloads/Scott-Scoble-Human-Cultivation-Expert-Speaker-Profile.pdf
- name: Configure rclone
run: |
@ -50,4 +51,8 @@ jobs:
- name: Deploy to Storj
run: |
rclone sync "${{ env.WORKDIR }}/dist/" storj:${{ secrets.STORJ_BUCKET }}/ --progress
rclone sync "${{ env.WORKDIR }}/one-sheet/" storj:${{ secrets.STORJ_BUCKET }}/downloads/ --progress 2>/dev/null || true
- name: Cleanup
if: always()
run: |
rm -rf "${{ env.WORKDIR }}"