mirror of
https://github.com/rizinorg/cutter
synced 2026-08-11 16:23:06 -04:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
32 lines
979 B
YAML
32 lines
979 B
YAML
name: Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
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
|