Skip to content

Commit

Permalink
fix: try publish v6 to aws
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen committed Dec 18, 2023
1 parent 93d9115 commit a726a95
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a726a95

Please sign in to comment.