Skip to content

Commit

Permalink
Merge pull request #749 from Permify/github-actions
Browse files Browse the repository at this point in the history
fix: deploy docs to S3 root directory
  • Loading branch information
tolgaOzen authored Oct 6, 2023
2 parents 20f83ad + cd8e0ec commit bc1903a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,13 @@ jobs:
run: |
cd docs
yarn build
- name: Prepare files for deployment
run: |
cp -r docs/build/* .
- name: Deploy to S3
uses: jakejarvis/[email protected]
with:
args: --acl public-read --follow-symlinks --delete
source_dir: ./
source_dir: docs/build
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 bc1903a

Please sign in to comment.