mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
deploy docs (#2616)
This commit is contained in:
parent
6cbf0c0cbf
commit
9601aac6fa
32
.github/workflows/docs.yml
vendored
Normal file
32
.github/workflows/docs.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Docs
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
- name: install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -y doxygen
|
||||||
|
pip install -U sphinx breathe sphinx-rtd-theme recommonmark
|
||||||
|
- name: build docs
|
||||||
|
run: |
|
||||||
|
export PATH="/home/runner/.local/bin:$PATH"
|
||||||
|
cd docs
|
||||||
|
make html
|
||||||
|
cd ..
|
||||||
|
- name: deploy docs
|
||||||
|
run: |
|
||||||
|
openssl aes-256-cbc -K ${{ secrets.CUTTER_DOCS_KEY }} -iv ${{ secrets.CUTTER_DOCS_IV }} -in scripts/deploy_docs_rsa.enc -out scripts/deploy_docs_rsa -d
|
||||||
|
chmod 600 scripts/deploy_docs_rsa
|
||||||
|
export GIT_SSH_COMMAND="/usr/bin/ssh -i $PWD/scripts/deploy_docs_rsa"
|
||||||
|
git config --global user.name "Github Actions"
|
||||||
|
git config --global user.email "actions@github.com"
|
||||||
|
bash scripts/deploy_docs.sh
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user