2023-02-11 19:11:33 +00:00
|
|
|
name: ci
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-02-11 19:32:36 +00:00
|
|
|
- master
|
|
|
|
|
2023-02-11 19:11:33 +00:00
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
|
|
|
|
# Checks-out submodules
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Checkout submodules
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2023-02-11 19:32:36 +00:00
|
|
|
git config --global user.email "no-reply@github.com"
|
2023-02-11 19:11:33 +00:00
|
|
|
git config --global user.name "Swk"
|
|
|
|
git config --global pull.rebase false
|
|
|
|
git submodule add https://github.com/swisskyrepo/PayloadsAllTheThings/ docs
|
2024-04-24 20:02:04 +00:00
|
|
|
mv docs/.github/overrides .
|
2023-02-11 19:11:33 +00:00
|
|
|
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.x
|
|
|
|
- run: pip install mkdocs-material
|
|
|
|
- run: pip install mkdocs-git-revision-date-localized-plugin
|
|
|
|
- run: pip install mkdocs-git-committers-plugin
|
2023-12-24 13:05:50 +00:00
|
|
|
- run: pip install mkdocs-material[imaging]
|
2024-11-03 16:10:52 +00:00
|
|
|
- run: pip install mdx_truly_sane_lists
|
2023-02-11 19:11:33 +00:00
|
|
|
- run: mkdocs gh-deploy --force
|
|
|
|
|