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 }}"