Skip to content

Commit

Permalink
deploy to S3
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuyanagimoto committed Mar 24, 2024
1 parent a85aa79 commit 027b617
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,21 @@ jobs:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render and Publish
- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- name: S3 sync
working-directory: docs
run: aws s3 sync . s3://quarto-research-blog --delete

- name: Publish to GitHub Pages
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
Expand Down

0 comments on commit 027b617

Please sign in to comment.