From a726a956b189a9f176b675ad3366d71410f25bf3 Mon Sep 17 00:00:00 2001 From: nicolethoen Date: Mon, 18 Dec 2023 14:54:13 -0500 Subject: [PATCH] fix: try publish v6 to aws --- .github/workflows/release.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 704c9c7798..ccb42c8940 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,20 +40,21 @@ jobs: - run: yarn build name: Build docs - run: .github/release.sh + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY}} + aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }} + aws-region: ${{ secrets.AWS_REGION }} - run: node scripts/writeVersionRedirects.js - run: node scripts/writeVersionPrefix.js - run: du -sh build/patternfly-org/* name: Check size of docs - - name: Upload v6 staging docs - uses: dswistowski/surge-sh-action@v1 - with: - domain: 'v6-org-staging.patternfly.org' - project: 'build/patternfly-org/site' - login: ${{ secrets.SURGE_LOGIN }} - token: ${{ secrets.SURGE_TOKEN }} + - run: .github/upload-staging.sh + name: Upload docs to staging - run: yarn build:extensions name: Build extension docs - - name: Upload v6 extension staging docs + - name: Upload extension only docs uses: dswistowski/surge-sh-action@v1 with: domain: 'v6-extensions-staging.patternfly.org'