Idfk.
Some checks are pending
Build mdBook / build (push) Waiting to run

This commit is contained in:
Jacob Signorovitch 2024-10-08 12:37:29 -04:00
parent bdbb93ea04
commit a7dcfd34c7

View File

@ -1,26 +1,26 @@
name: "Build mdBook" name: Build mdBook
on: on:
push: push:
branches: branches:
- "main" - main
jobs: jobs:
build: build:
runs-on: "ubuntu-latest" runs-on: ubuntu-latest
steps: steps:
- name: "Checkout code" - name: Checkout code
uses: "actions/checkout@v3" uses: actions/checkout@v3
- name: "Install mdBook" - name: Install mdBook
run: | run: |
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xvz -C /usr/local/bin curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xvz -C /usr/local/bin
- name: "Build mdBook" - name: Build mdBook
run: "mdbook build" run: mdbook build
- name: "Deploy" - name: Deploy
run: | run: |
rsync -avz --delete ./book/ books@signorovitch.org:apush-guide rsync -avz --delete ./book/ books@signorovitch.org:apush-guide
env: env: