Skip to content

Bump pygments from 2.14.0 to 2.15.0 #534

Bump pygments from 2.14.0 to 2.15.0

Bump pygments from 2.14.0 to 2.15.0 #534

Workflow file for this run

name: github pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Hugo build
uses: docker://us-docker.pkg.dev/gcpdiag-dist/common/gcpdiag-hugo:0.1
with:
args: >
/bin/sh -e -c "
cp bin/gcpdiag-dockerized website/static/gcpdiag.sh;
cd website;
hugo build --themesDir=/themes --baseUrl=https://gcpdiag.dev/ --minify --enableGitInfo"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.repository == 'GoogleCloudPlatform/gcpdiag' && github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/public
cname: gcpdiag.dev