Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
froggleston authored Sep 27, 2024
1 parent 836fbbd commit 19329eb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Build site
run: make html
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "source/"
build-command: "sphinx-build -b html . _build"

- name: Deploy to AWS S3
id: deploy
Expand All @@ -32,7 +35,7 @@ jobs:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: build/
SOURCE_DIR: _build/

- name: Invalidate CloudFront
uses: chetan/invalidate-cloudfront-action@master
Expand Down

0 comments on commit 19329eb

Please sign in to comment.