Merge pull request #268 from MAGICCC/master

Use GH actions instead of Travis-CI
Dieser Commit ist enthalten in:
Peter 2021-04-20 22:15:53 +02:00 committet von GitHub
Commit 9b10ed5d90
Es konnte kein GPG-SchlĂŒssel zu dieser Signatur gefunden werden
GPG-SchlĂŒssel-ID: 4AEE18F83AFDEB23
3 geÀnderte Dateien mit 25 neuen und 15 gelöschten Zeilen

24
.github/workflows/gh-pages.yml gevendort Normale Datei
Datei anzeigen

@ -0,0 +1,24 @@
name: Build and deploy to gh-pages
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout đŸ“„
uses: actions/checkout@v2.3.4
- name: Install dependencies 🐄
run: |
sudo apt-get -y update
sudo apt-get -y install python3-pip
pip install mkdocs-material pygments==2.8.1 mkdocs-redirects
- name: Build site 🔧
run: |
mkdocs build --verbose --clean
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: site # The folder the action should deploy.

Datei anzeigen

@ -1,14 +0,0 @@
language: python
install:
- pip install mkdocs-material pygments mkdocs-redirects
script:
- mkdocs build --verbose --clean
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: site
name: $BOT_NAME
email: $BOT_EMAIL
on:
branch: master

Datei anzeigen

@ -1,4 +1,4 @@
![TRAVIS-CI](https://api.travis-ci.org/mailcow/mailcow-dockerized-docs.svg?branch=master) [![Build and deploy to gh-pages](https://github.com/mailcow/mailcow-dockerized-docs/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/mailcow/mailcow-dockerized-docs/actions/workflows/gh-pages.yml)
# mailcow: dockerized documentation # mailcow: dockerized documentation