Skip to content

dependency: bump pre-commit-hooks from 4.4.0 to 4.5.0 #41

dependency: bump pre-commit-hooks from 4.4.0 to 4.5.0

dependency: bump pre-commit-hooks from 4.4.0 to 4.5.0 #41

Workflow file for this run

---
name: publish post
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install pipenv
pipenv --version
pipenv install --dev
- name: Build
run: |
export GOOGLE_ANALYTICS=${{ secrets.GOOGLE_ANALYTICS }}
export UTTERANCES_REPO=${{ github.repository }}
pipenv run inv build-publish
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./output
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"