Skip to content

Commit

Permalink
Merge pull request #751 from Permify/github-actions
Browse files Browse the repository at this point in the history
fix: correct rsync options for deployment
  • Loading branch information
tolgaOzen authored Oct 6, 2023
2 parents 00626a3 + 689fe3b commit e037db2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ jobs:
yarn build
# Move to root
- name: Move files
- name: Move build files to repository root
run: |
mv docs/build/* .
rsync -a docs/build/ .
- name: Deploy to S3
uses: jakejarvis/[email protected]
with:
args: --acl public-read --follow-symlinks --delete
source_dir: .
source_dir: .
destination_dir: /
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit e037db2

Please sign in to comment.