Merge pull request #268 from MAGICCC/master
Use GH actions instead of Travis-CI
Dieser Commit ist enthalten in:
Commit
9b10ed5d90
3 geÀnderte Dateien mit 25 neuen und 15 gelöschten Zeilen
24
.github/workflows/gh-pages.yml
gevendort
Normale Datei
24
.github/workflows/gh-pages.yml
gevendort
Normale Datei
|
@ -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.
|
14
.travis.yml
14
.travis.yml
|
@ -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
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Laden âŠ
In neuem Issue referenzieren