diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..0b8d6a75 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: ci +on: + push: + branches: + - master + - main + # At minute 0 past every 6th hour + schedule: + - cron: "0 */6 * * *" +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 "you@example.com" + git config --global user.name "Swk" + git config --global pull.rebase false + git submodule add https://github.com/swisskyrepo/PayloadsAllTheThings/ docs + # git submodule sync --recursive + # git submodule foreach git pull origin master --allow-unrelated-histories + # git submodule update --init --force --recursive + # git submodule update --remote --merge + + - 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: mkdocs gh-deploy --force + diff --git a/README.md b/README.md index 9e927de8..7d2842c8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ You can also contribute with a :beers: IRL, or using the sponsor button [![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&link=https://github.com/sponsors/swisskyrepo)](https://github.com/sponsors/swisskyrepo) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Payloads%20All%20The%20Things,%20a%20list%20of%20useful%20payloads%20and%20bypasses%20for%20Web%20Application%20Security%20-%20by%20@pentest_swissky&url=https://github.com/swisskyrepo/PayloadsAllTheThings/) -An alternative display version is available at [PayloadsAllTheThingsWeb](https://swisskyrepo.github.io/PayloadsAllTheThingsWeb/). +An alternative display version is available at [PayloadsAllTheThingsWeb](https://swisskyrepo.github.io/PayloadsAllTheThings/).

diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 00000000..1cd6c430 --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,60 @@ +site_name: Payloads All The Things +theme: + name: material + icon: + repo: fontawesome/brands/github + palette: + # Palette toggle for light mode + - media: "(prefers-color-scheme: light)" + scheme: default + toggle: + icon: material/brightness-7 + name: Switch to dark mode + + # Palette toggle for dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + toggle: + icon: material/brightness-4 + name: Switch to light mode + + features: + - navigation.tracking + - toc.integrate + - navigation.top + +markdown_extensions: + - def_list + - pymdownx.tasklist: + custom_checkbox: true + - tables + - admonition + - pymdownx.details + - pymdownx.superfences + - pymdownx.highlight: + anchor_linenums: true + - pymdownx.inlinehilite + - pymdownx.snippets + - attr_list + - pymdownx.emoji: + emoji_index: !!python/name:materialx.emoji.twemoji + emoji_generator: !!python/name:materialx.emoji.to_svg + +repo_url: https://github.com/swisskyrepo/PayloadsAllTheThings/ +edit_uri: edit/master/ +plugins: + - search + - git-revision-date-localized + +# - git-committers: +# repository: swisskyrepo/PayloadsAllTheThings +# branch: main +# token: !ENV GH_TOKEN +# docs_path: docs/ +# insiders-2.12.0 · Plugin · Experimental +# - social +# - tags +# - toc.integrate +# - navigation.instant +# logo: 'images/site_logo.png' +# favicon: 'images/favicon.png' \ No newline at end of file