diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..0fcb211a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Prep Python + uses: actions/setup-python@v2 + with: + python-version: '3.10' + - name: Install pip deps + run: | + python -m pip install --user -r requirements.txt + - name: Build and deploy site + run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5110ac82..00000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: python - -python: 3.6.7 - -install: - - pip install -r requirements.txt - -script: - - mkdocs build --verbose --clean --strict - -deploy: - provider: pages - skip_cleanup: true - github_token: $github_token - local_dir: site - on: - branch: master