blog/.gitea/workflows/ssg.yaml
Workflow config file is invalid. Please check your config file: yaml: line 10: did not find expected '-' indicator

21 lines
476 B
YAML

name: Deploy ${{ gitea.repository }}
run-name: ${{ gitea.actor }} is deploying ajet.fyi ${{ gitea.repository }}
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: "cargo install mdbook"
- run: "mdbook build"
- uses: actions/upload-artifact@v4
with:
name: www.zip
path: book