8000 Update June, add July · TobKed/blog@f0046ec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update June, add July #484

Update June, add July

Update June, add July #484

Workflow file for this run

name: Deploy blog to gh-pages
on:
workflow_dispatch:
inputs:
pull_request:
push:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
with:
extra_args: --all-files --show-diff-on-failure --color always
build:
name: Deploy job
runs-on: ubuntu-latest
needs: [pre-commit]
if: >
github.ref == 'refs/heads/master' &&
github.event_name == 'push'
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: pip install -r requirements.txt
- run: ./deploy-to-gh-pages.sh
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOOGLE_ANALYTICS: ${{ secrets.GOOGLE_ANALYTICS }}
0