This commit is contained in:
parent
bdbb93ea04
commit
a7dcfd34c7
@ -1,26 +1,26 @@
|
||||
name: "Build mdBook"
|
||||
name: Build mdBook
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: "actions/checkout@v3"
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: "Install mdBook"
|
||||
- name: Install mdBook
|
||||
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
|
||||
|
||||
- name: "Build mdBook"
|
||||
run: "mdbook build"
|
||||
- name: Build mdBook
|
||||
run: mdbook build
|
||||
|
||||
- name: "Deploy"
|
||||
- name: Deploy
|
||||
run: |
|
||||
rsync -avz --delete ./book/ books@signorovitch.org:apush-guide
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user