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
Some checks failed
Build and Deploy to Storj / build-and-deploy (push) Failing after 7s
This commit is contained in:
parent
1f760f597c
commit
b3fb9fb224
1 changed files with 8 additions and 3 deletions
|
|
@ -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 }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue