Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update aws-actions/configure-aws-credentials action to v4 - autoclosed #26

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
INSTANCE: 'web/g'
ARTIFACT: 'webHelpHI2-all.zip'
ARTIFACT: 'webHelpG2-all.zip'

jobs:
build-docs:
Expand Down Expand Up @@ -45,3 +45,28 @@ jobs:
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ env.INSTANCE }}

deploy:
needs:
- build-docs
- test-docs
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: docs

- name: Unzip artifact
run: unzip -O UTF-8 -qq '${{ env.ARTIFACT }}' -d docs-dist

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.GARAGE_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.GARAGE_SECRET_ACCESS_KEY }}
aws-region: hel1

- name: Copy files to the s3 website content bucket
run:
aws s3 sync --endpoint-url ${{ secrets.GARAGE_ENDPOINT }} docs-dist s3://${{ secrets.GARAGE_BUCKET_NAME }} --delete
Loading