Skip to content

[scripts/capstone.py] Make sure the on-write function takes an argume… #32

[scripts/capstone.py] Make sure the on-write function takes an argume…

[scripts/capstone.py] Make sure the on-write function takes an argume… #32

Workflow file for this run

name: Generate GithubPages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install pre-requisite
run: |
sudo apt install gdb-multiarch python3 python3-dev python3-wheel -y
version=$(gdb -q -nx -ex 'pi print(f"{sys.version_info.major}.{sys.version_info.minor}", end="")' -ex quit)
python${version} -m pip install --requirement docs/requirements.txt --upgrade
- name: Build and publish the docs
run: |
git config --global user.name "hugsy"
git config --global user.email "[email protected]"
mkdocs gh-deploy --force