Skip to content

Bump the all group across 1 directory with 4 updates (#570) #67

Bump the all group across 1 directory with 4 updates (#570)

Bump the all group across 1 directory with 4 updates (#570) #67

Workflow file for this run

name: Build and Deploy the Website
on:
push:
branches: [ main ]
permissions:
contents: write # Pushes to `gh-pages` branch
jobs:
deploy-website:
runs-on: ubuntu-latest
container: node
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- run: npx envinfo
- name: Build and Deploy
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
USER: gatsby-deploy-bot <[email protected]>
NODE_OPTIONS: --openssl-legacy-provider
working-directory: ./website
run: |
npm install
npx gatsby build --prefix-paths
npx gh-pages -d public -r https://git:${TOKEN}@github.com/${REPO}.git -u "${USER}"