Add parsing docs
This commit is contained in:
parent
77d4c11054
commit
93029e5c52
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
name: On Master Push
|
name: Test and Deploy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branch:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -12,10 +13,12 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libbsd-dev cmake build-essential
|
sudo apt-get install -y libbsd-dev cmake build-essential
|
||||||
|
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -23,16 +26,19 @@ jobs:
|
|||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
./tests
|
./tests
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install SSH client
|
- name: Install SSH client
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y openssh-client
|
sudo apt-get install -y openssh-client
|
||||||
|
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
@ -41,12 +47,15 @@ jobs:
|
|||||||
chmod -R 700 ~/.ssh
|
chmod -R 700 ~/.ssh
|
||||||
eval "$(ssh-agent -s)"
|
eval "$(ssh-agent -s)"
|
||||||
ssh-add ~/.ssh/id_rsa
|
ssh-add ~/.ssh/id_rsa
|
||||||
|
|
||||||
- name: Install mkdocs
|
- name: Install mkdocs
|
||||||
run: |
|
run: |
|
||||||
pip install mkdocs
|
pip install mkdocs
|
||||||
|
|
||||||
- name: Build documentation
|
- name: Build documentation
|
||||||
run: |
|
run: |
|
||||||
mkdocs build
|
mkdocs build
|
||||||
|
|
||||||
- name: Deploy documentation
|
- name: Deploy documentation
|
||||||
run: |
|
run: |
|
||||||
ssh debian@burkey.co "rm -rf /var/www/burkey.co/docs/libflint"
|
ssh debian@burkey.co "rm -rf /var/www/burkey.co/docs/libflint"
|
@ -12,6 +12,7 @@ nav:
|
|||||||
- 'Linked List': 'linkedlist.md'
|
- 'Linked List': 'linkedlist.md'
|
||||||
- 'Math': 'math.md'
|
- 'Math': 'math.md'
|
||||||
- 'macOS': 'macos.md'
|
- 'macOS': 'macos.md'
|
||||||
|
- 'Parsing': 'parsing.md'
|
||||||
- 'Set': 'set.md'
|
- 'Set': 'set.md'
|
||||||
- 'Stack': 'stack.md'
|
- 'Stack': 'stack.md'
|
||||||
- 'String': 'string.md'
|
- 'String': 'string.md'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user