Skip to content

Update 20240603.md #10320

Update 20240603.md

Update 20240603.md #10320

Workflow file for this run

name: gh-pages
on:
pull_request:
push:
branches:
- main
schedule:
- cron: "50 3-5 * * *" # 11:50-13:50 daily
workflow_run:
workflows:
- update podcasts
types:
- completed
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: latest
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: apod.tw
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: ${{ github.event.head_commit.message }}