From 9601aac6faf39a14a10b0a3a13c5c1c835652716 Mon Sep 17 00:00:00 2001 From: Surendrajat Date: Wed, 3 Mar 2021 18:22:37 +0530 Subject: [PATCH] deploy docs (#2616) --- .github/workflows/docs.yml | 32 ++++++++++++++++++++++++++++++++ scripts/deploy_docs_rsa.enc | Bin 1840 -> 400 bytes 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..41645177 --- /dev/null +++ b/.github/workflows/docs.yml @@ -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 diff --git a/scripts/deploy_docs_rsa.enc b/scripts/deploy_docs_rsa.enc index 659b3042b6680d9c68c12221ea31dc5a228c58c3..180dec74c7a94e0eb5871b5353da048abfa88c7b 100644 GIT binary patch literal 400 zcmV;B0dM{vj3bE}zJL;F4QaJoaIDX&-IrthD@J1*4wz@ z3o=@ZMz7$GM7zEWoJh+$&;v!P$geJ}BqkA>fehVgJ&VA**@P#YNf-MSGQYe7-W}6f z>g<4m1nwKACFRhNY{?5<>Fq&{gx3h1BlOT;{74!43lqH|7ZHN0S@;|1+j?_VAERj* zuT?TeKm&Q`g885qcG9t_Etay6G)YyY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