Update Pipfile.lock to match Pipfile #918
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: github pages | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
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/[email protected] | |
if: github.repository == 'GoogleCloudPlatform/gcpdiag' && github.ref == 'refs/heads/main' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./website/public | |
cname: gcpdiag.dev |