Skip to content

Commit

Permalink
Update publish-techdocs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyMitch authored Jul 8, 2024
1 parent 53f65f5 commit 4110df7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/publish-techdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
uses: bcgov/devhub-techdocs-publish@stable
id: build_and_publish
with:
publish: 'true'
production: 'true'
bucket_name: ${{ secrets.TECHDOCS_S3_BUCKET_NAME }}
s3_access_key_id: ${{ secrets.TECHDOCS_AWS_ACCESS_KEY_ID }}
s3_secret_access_key: ${{ secrets.TECHDOCS_AWS_SECRET_ACCESS_KEY }}
s3_region: ${{ secrets.TECHDOCS_AWS_REGION }}
s3_endpoint: ${{ secrets.TECHDOCS_AWS_ENDPOINT }}

publish: 'true'
production: ${{ github.event_name == 'release' }} # Only publish to prod on release
bucket_name: ${{ secrets.TECHDOCS_S3_BUCKET_NAME }}
s3_access_key_id: ${{ secrets.TECHDOCS_AWS_ACCESS_KEY_ID }}
s3_secret_access_key: ${{ secrets.TECHDOCS_AWS_SECRET_ACCESS_KEY }}
s3_region: ${{ secrets.TECHDOCS_AWS_REGION }}
s3_endpoint: ${{ secrets.TECHDOCS_AWS_ENDPOINT }}

0 comments on commit 4110df7

Please sign in to comment.