mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-22 20:36:12 +00:00
36 lines
981 B
YAML
36 lines
981 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
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: |
|
|
git config --global user.email "no-reply@github.com"
|
|
git config --global user.name "Swk"
|
|
git config --global pull.rebase false
|
|
git submodule add https://github.com/swisskyrepo/PayloadsAllTheThings/ docs
|
|
mv docs/.github/overrides .
|
|
|
|
- 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
|
|
- run: pip install mkdocs-material[imaging]
|
|
- run: pip install mdx_truly_sane_lists
|
|
- run: mkdocs gh-deploy --force
|
|
|