Skip to content

B3 Lunarfit: fix preview image missing (typo) (#402) #586

B3 Lunarfit: fix preview image missing (typo) (#402)

B3 Lunarfit: fix preview image missing (typo) (#402) #586

name: staging
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy:
if: github.repository == 'htw-imi-showtime/showtime-website'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Hugo setup
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.128.0'
extended: true
- name: Build
run: |
hugo \
--environment staging \
--baseURL "https://htw-imi-showtime.github.io/staging/" \
--buildDrafts
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.STAGING_DEPLOY_KEY }}
external_repository: htw-imi-showtime/staging
publish_branch: main