Skip to content

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
Fix pipeline for uploading a content to Cloudflare R2.
  • Loading branch information
tiaga committed Jan 16, 2024
1 parent a174f37 commit 12546f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ on:
- master

jobs:
upload:
Upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Upload content to Cloudflare R2
uses: jakejarvis/s3-sync-action@master
with:
args: --delete
args: --exclude '.git*' --exclude 'README.md' --delete
env:
AWS_S3_BUCKET: amnezia-org
AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_SECRET_ACCESS_KEY }}
AWS_S3_ENDPOINT: https://${{ vars.CF_ACCOUNT_ID }}.r2.cloudflarestorage.com
SOURCE_DIR: ./docs

0 comments on commit 12546f5

Please sign in to comment.