From 8bb230f4393f16e25c3e0a304184c3e7787ed754 Mon Sep 17 00:00:00 2001 From: krasjet Date: Mon, 28 Feb 2022 18:32:01 +0000 Subject: [PATCH] switch to github workflow --- .github/workflows/deploy.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 0000000..6ee2a54 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,25 @@ +name: deploy +on: + push: + branches: ['new-theme'] +jobs: + deploy: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: set up python 3.4 + uses: actions/setup-python@v2 + with: + python-version: 3.4 + - name: install dependencies + shell: bash + run: | + pip install PyYAML==5.1.2 + pip install mkdocs==0.16.3 + python setup.py install + - name: build site + shell: bash + run: mkdocs build --clean + - name: check + shell: bash + run: tree