Skip to content

Commit

Permalink
Added document deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Sep 6, 2024
1 parent f478314 commit 8287a11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install plantuml
uses: Timmy/plantuml-action@v1
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material pymdown-extensions
- run: pip install mkdocs-material pymdown-extensions plantuml_markdown
- run: mkdocs build
- run: aws s3 sync ./site "s3://${{ env.BUCKET_NAME || 'dev.docs.cfa.codes' }}/${{ env.PREFIX || 'document-transfer-service' }}" --recursive

0 comments on commit 8287a11

Please sign in to comment.