blog/.forgejo/workflows/deploy.yaml
Workflow config file is invalid. Please check your config file: yaml: line 7: did not find expected '-' indicator
2024-12-23 08:58:37 +01:00

24 lines
549 B
YAML

name: Deploy
on: [push]
jobs:
deploy:
runs-on: docker
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
run : |
curl -L -o hugo_0.140.0_linux-amd64.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.140.0/hugo_0.140.0_linux-amd64.tar.gz
tar zxvf hugo_0.140.0_linux-amd64.tar.gz
- name: Build
run: ./hugo
- uses: actions/upload-artifact@v3
with:
name: website
path: public/