Skip to content

bpcreech is publishing stuff #48

bpcreech is publishing stuff

bpcreech is publishing stuff #48

Workflow file for this run

name: publish
run-name: ${{ github.actor }} is publishing stuff
on: push
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Retrieve theme
run: git submodule update --init --recursive
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.92.2"
- name: Build
run: hugo --minify
- name: Set up CNAME
run: |
echo bpcreech.com > ./public/CNAME
echo "This site is generated from github.com/bpcreech/blog" > ./public/README
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.TOKEN }}
external_repository: bpcreech/bpcreech.github.io
publish_dir: ./public
# keep_files: true
user_name: bpcreech
user_email: [email protected]
publish_branch: main
# cname: example.com