diff --git a/.gitea/workflows/hugo_build.yaml b/.gitea/workflows/hugo_build.yaml new file mode 100644 index 0000000..f05b7e2 --- /dev/null +++ b/.gitea/workflows/hugo_build.yaml @@ -0,0 +1,21 @@ +name: Build Hugo Site +run-name: ${{ gitea.actor }} is building The Satellite of Love +on: [push] + +jobs: + build: + runs-on: docker + steps: + - uses: actions/checkout@v4 + - name: Install Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.105.0' + extended: true + - name: Build + run: hugo + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public \ No newline at end of file