Skip to content

Commit

Permalink
ci: flatten directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
felixevers committed Aug 19, 2024
1 parent ca85de4 commit 54178b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Generate output directory
run: |
mkdir -p output
mv ./*.pdf output/
mv ./*.pdf output
- name: Upload to cdn
uses: ryand56/r2-upload-action@latest
Expand All @@ -43,7 +43,7 @@ jobs:
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
r2-bucket: ${{ secrets.R2_BUCKET }}
source-dir: ./output/
source-dir: output
destination-dir: ${{ github.sha }}

- name: Release on cdn (on main)
Expand All @@ -54,6 +54,6 @@ jobs:
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
r2-bucket: ${{ secrets.R2_BUCKET }}
source-dir: ./output/
source-dir: output
destination-dir: main
keep-file-fresh: true

0 comments on commit 54178b3

Please sign in to comment.