chore(deps): bump @mdx-js/react from 3.0.1 to 3.1.0 (#1352) #1160
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
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]' |