lennartalff.net/.gitea/workflows/build_and_deploy.yaml
Workflow config file is invalid. Please check your config file: yaml: line 23: mapping values are not allowed in this context

24 lines
666 B
YAML

name: build and deploy website
run-name: ${{ gitea.actor }} is building the website
on:
push:
branches:
- main
jobs:
deploy-main:
runs-on: ubuntu-latest
steps:
- run: echo "Automatically triggered by ${{ gitea.event_name }}"
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
github-server-url: 'https://git.lennartalff.net'
- name: Install dependencies
run: apt update && apt install -y rsync hugo
- name: Build
run: hugo --minify
- name: Test
run: ls ${{ gitea.workspace }}
- run: echo "Finished with status: ${{ job.status }}"