From dc704b36105886c3d35c75e86cab134f45b7a2c0 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Tue, 26 Sep 2023 10:42:55 -0400 Subject: [PATCH 1/2] update docs bucket path --- .github/workflows/build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 9df22b7a..4303d403 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -49,4 +49,4 @@ jobs: if: ${{ github.repository == 'rapidsai/deployment' && github.event_name == 'push' }} env: DESTINATION_DIR: ${{ startsWith(github.event.ref, 'refs/tags/') && 'stable' || 'nightly' }} - run: aws s3 sync --no-progress --delete build/dirhtml "s3://rapidsai-docs/deployment/${DESTINATION_DIR}/html" + run: aws s3 sync --no-progress --delete build/dirhtml "s3://rapidsai-docs/deployment/html/${DESTINATION_DIR}" From 9105153c88c2d7a40928f58c05a56b9122420edc Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Tue, 26 Sep 2023 10:43:02 -0400 Subject: [PATCH 2/2] update composite actions --- .github/workflows/build-and-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 4303d403..431e6977 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -21,7 +21,7 @@ jobs: name: Build (and deploy) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.1.0 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -38,7 +38,7 @@ jobs: DEPLOYMENT_DOCS_BUILD_STABLE: ${{ startsWith(github.event.ref, 'refs/tags/') && 'true' || 'false' }} run: make dirhtml SPHINXOPTS="-W --keep-going -n" - - uses: aws-actions/configure-aws-credentials@v1-node16 + - uses: aws-actions/configure-aws-credentials@v4 if: ${{ github.repository == 'rapidsai/deployment' && github.event_name == 'push' }} with: role-to-assume: ${{ vars.AWS_ROLE_ARN }}