From e630360c9f828ecad2c46935c3cfb7cf0a0f7c7e Mon Sep 17 00:00:00 2001 From: Mohit Mishra Date: Sat, 21 Dec 2024 01:26:24 +0530 Subject: [PATCH] workflow --- .github/workflows/deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..c861cac3 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,22 @@ +name: Deploy MkDocs +on: + push: + branches: + - main + pull_request: + branches: + - main + +permissions: + contents: write + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - run: pip install -r requirements.txt + - run: mkdocs gh-deploy --force \ No newline at end of file