Skip to content

chore: bump http-proxy-middleware from 2.0.6 to 2.0.7 in /website #718

chore: bump http-proxy-middleware from 2.0.6 to 2.0.7 in /website

chore: bump http-proxy-middleware from 2.0.6 to 2.0.7 in /website #718

Workflow file for this run

name: generate_website
on:
push:
branches:
- master
paths:
- ".github/workflows/website.yaml"
- "website/**"
pull_request:
branches:
- master
paths:
- ".github/workflows/website.yaml"
- "website/**"
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: website
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- name: Setup Node
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: "16"
- name: Get yarn cache
id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-website-
- run: yarn install --frozen-lockfile
- run: yarn build
# deploy only after PR is merged to master
- name: Deploy
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && github.repository == 'open-policy-agent/gatekeeper'
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
destination_dir: ./website