Skip to content

Update Prog1 course #41

Update Prog1 course

Update Prog1 course #41

Workflow file for this run

name: Publish website
on:
push:
branches: master
# schedule:
# - cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.66.0'
extended: true
- name: Build website
run: hugo
- name: Deploy website
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages