Skip to content

Commit

Permalink
Merge pull request #117 from nulib/3681-docs-busted
Browse files Browse the repository at this point in the history
Deploy docs to correct bucket
  • Loading branch information
mbklein authored Feb 23, 2023
2 parents b61047c + 0ff30ee commit d112c5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
uses: tj-actions/[email protected]
with:
files: |
.github/workflows/docs.yaml
.github/workflows/deploy.yaml
docs/*
publish-docs:
needs: docs-changed
Expand Down Expand Up @@ -96,6 +96,7 @@ jobs:
openapi-file: docs/site/spec/openapi.yaml
command-args: -o docs/site/spec
- name: Copy to S3
run: aws s3 sync --delete docs/site/ s3://api-docs.${ZONE}/
run: aws s3 sync --delete docs/site/ s3://${HOST}-docs.${ZONE}/
env:
HOST: ${{ secrets.Hostname }}
ZONE: ${{ secrets.HostedZone }}

0 comments on commit d112c5f

Please sign in to comment.