Gh pages deploy fix #90
Workflow file for this run
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: pull request | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
if: github.repository == 'htw-imi-showtime/showtime-website' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: false | |
- name: Get Theme | |
run: | | |
git submodule update --init themes/showtime-theme-2021 | |
- name: Hugo setup | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: '0.128.0' | |
extended: true | |
- name: Build | |
run: | | |
hugo \ | |
--environment staging \ | |
--baseURL "https://htw-imi-showtime.github.io/tryout/" \ | |
--buildDrafts | |