fix: PF brand logo in masthead to inline svg #783
Workflow file for this run
This file contains 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
### WARNING -- this file was generated by generate-workflows | |
name: release | |
on: | |
push: | |
branches: | |
- v6 | |
jobs: | |
build-deploy: | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN_REDALLEN }} # needs to be an admin token to get around branch protection | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} | |
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} | |
steps: | |
- run: printenv | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GH_TOKEN_REDALLEN }} # needs to be an admin token to get around branch protection | |
# Injected by generate-workflows.js | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "16" | |
- uses: actions/cache@v2 | |
id: yarn-cache | |
name: Load npm deps from cache | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
# v6 build | |
- uses: actions/cache@v2 | |
id: site-cache | |
name: Load webpack cache | |
with: | |
path: "packages/documentation-site/.cache" | |
key: ${{ runner.os }}-site-${{ hashFiles('yarn.lock') }} | |
- 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 | |
- run: .github/upload-staging.sh | |
name: Upload docs to staging | |
- run: yarn build:extensions | |
name: Build extension docs | |
- name: Upload extension only docs | |
uses: dswistowski/surge-sh-action@v1 | |
with: | |
domain: 'v6-extensions-staging.patternfly.org' | |
project: 'build/patternfly-org/site' | |
login: ${{ secrets.SURGE_LOGIN }} | |
token: ${{ secrets.SURGE_TOKEN }} |