Skip to content

Commit

Permalink
Get github build going to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jul 17, 2023
1 parent a4a7255 commit d682bd3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Build documentation"
on:
push:
pull_request:
workflow_dispatch:

jobs:
docs:
name: "Build and deploy"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"

- uses: actions/upload-artifact@v1
with:
name: documentation-html
path: docs/_build/html/

- uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.PALEWIRE_DOCS_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.PALEWIRE_DOCS_AWS_SECRET_ACCESS_KEY }}
aws_bucket: ${{ secrets.PALEWIRE_DOCS_AWS_BUCKET }}
source_dir: docs/_build/html/
destination_dir: first-github-scraper
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx
sphinx-autobuild
myst-parser

0 comments on commit d682bd3

Please sign in to comment.