From c4b6fed6efa7b5d9cc0f9ecf7b7e9aeee1b3d4c1 Mon Sep 17 00:00:00 2001 From: epi Date: Sat, 25 Sep 2021 16:47:52 -0500 Subject: [PATCH] added new documentation site --- .github/workflows/gh-pages.yml | 32 ++++++++++++++++ .gitmodules | 3 ++ docs/feroxbuster-docs | 1 + docs/index.html | 67 ---------------------------------- 4 files changed, 36 insertions(+), 67 deletions(-) create mode 100644 .github/workflows/gh-pages.yml create mode 100644 .gitmodules create mode 160000 docs/feroxbuster-docs delete mode 100644 docs/index.html diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..27c8edf --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,32 @@ +name: github pages + +on: + push: + branches: + - main # Set a branch to deploy + pull_request: + +jobs: + deploy: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: 'latest' + extended: true + + - name: Build + run: hugo --minify + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + if: github.ref == 'refs/heads/main' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/feroxbuster-docs/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..bb3be60 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "docs/feroxbuster-docs"] + path = docs/feroxbuster-docs + url = git@github.com:epi052/feroxbuster-docs.git diff --git a/docs/feroxbuster-docs b/docs/feroxbuster-docs new file mode 160000 index 0000000..7233c04 --- /dev/null +++ b/docs/feroxbuster-docs @@ -0,0 +1 @@ +Subproject commit 7233c045e6dd0d494610f1b9c343e440c19e1d03 diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index d2a6a67..0000000 --- a/docs/index.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - feroxbuster - - - - - - - - - - - - - - - - - - - -
-
-

feroxbuster

- -
-
- - -
-
- -
- -
-
- - -