security(go): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.87.0 to 1.88.7 #622
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Documentation | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| push: | |
| tags: | |
| - "v*.*.*" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| docs: | |
| name: Build Documentation | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - name: Set up Node | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version: 20 | |
| - name: Make docs | |
| run: | | |
| make docs | |
| - name: Set up s3cmd | |
| uses: s3-actions/s3cmd@558ab259e985802479fab6cfd7453bd74b45bc5b # v2.0.1 | |
| if: github.event_name != 'pull_request' | |
| with: | |
| provider: aws | |
| region: ${{ secrets.S3_REGION }} | |
| access_key: ${{ secrets.S3_ACCESS_KEY }} | |
| secret_key: ${{ secrets.S3_SECRET_KEY }} | |
| - name: Upload to s3 | |
| if: github.event_name != 'pull_request' | |
| env: | |
| BUCKET: ${{ secrets.S3_BUCKET }} | |
| run: | | |
| s3cmd sync --recursive --delete-removed build/site/* s3://${BUCKET}/ |