From 0b007a510872e7e5ad64be20ca04d0dbe0bd20fb Mon Sep 17 00:00:00 2001 From: Rishab Kumar Date: Tue, 14 Mar 2023 12:10:59 -0400 Subject: [PATCH] added build action for website --- .github/workflows/build-deploy-website.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build-deploy-website.yml diff --git a/.github/workflows/build-deploy-website.yml b/.github/workflows/build-deploy-website.yml new file mode 100644 index 0000000..e24a57a --- /dev/null +++ b/.github/workflows/build-deploy-website.yml @@ -0,0 +1,21 @@ +name: build and deploy website +on: + push: + branches: + - gh_pages +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install mkdocs-material + - run: mkdocs gh-deploy --force \ No newline at end of file