Skip to content

fix(docs): fix axe issues on home page (#3731) #717

fix(docs): fix axe issues on home page (#3731)

fix(docs): fix axe issues on home page (#3731) #717

Workflow file for this run

### WARNING -- this file was generated by generate-workflows
name: release
on:
push:
branches:
- main
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 }}
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'
# v5 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