Skip to content

chore(deps-dev): bump husky from 9.0.11 to 9.1.1 (#1301) #1113

chore(deps-dev): bump husky from 9.0.11 to 9.1.1 (#1301)

chore(deps-dev): bump husky from 9.0.11 to 9.1.1 (#1301) #1113

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '.github/workflows/deploy.yml'
- '.github/pages/**/*'
- 'src/**/*'
- 'static/**/*'
- 'package.json'
- 'package-lock.json'
- 'gatsby-*.js'
- '.nvmrc'
permissions:
# Push to gh-pages
contents: write
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Build Setup
uses: ./.github/actions/build-setup
- name: create .env.production file
run: |
touch .env.production
echo GATSBY_GA_MEASUREMENT_ID=${{ secrets.PROD_GA_MEASUREMENT_ID }} >> .env.production
echo GATSBY_ROBOTS_ENABLED=true >> .env.production
- name: Lint check
run: npm run lint-check
- name: Check types
run: npm run check-types
- name: Build site
run: npm run build
- name: Push to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
keep_files: false # we regenerate the whole site
user_name: 'process-analytics-bot'
user_email: '[email protected]'