All checks were successful
Deploy ${{ gitea.repository }} / build (push) Successful in 38s
22 lines
608 B
YAML
22 lines
608 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@v3
|
|
with:
|
|
name: blog
|
|
path: book
|
|
- run: "curl https://service-manager.ajet.fyi/restart -H 'Content-Type: application/edn' -d '{:service/name \"blog\"}' -v"
|