Skip to content

Merge pull request #32 from temporaerhaus/20231107-monatsbericht #339

Merge pull request #32 from temporaerhaus/20231107-monatsbericht

Merge pull request #32 from temporaerhaus/20231107-monatsbericht #339

Workflow file for this run

name: deploy
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
extended: true
- name: Build
run: hugo --gc --minify
env:
HUGO_ENV: production
HUGO_BASEURL: 'https://temporaerhaus.de/'
- name: ssh deploy
uses: easingthemes/ssh-deploy@v2.2.11
env:
SOURCE: public/
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: "-rltgoDzvO --exclude='tour'"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}