mirror of
https://github.com/vrana/adminer.git
synced 2026-01-01 21:30:39 +01:00
workflows: set up GitHub pages
Currently being built from a feature branch, we will switch to building from main.
This commit is contained in:
22
.github/workflows/github-pages.yml
vendored
Normal file
22
.github/workflows/github-pages.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: publish docs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- feature/docs
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout main
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: feature/docs
|
||||
|
||||
- name: deploy docs
|
||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CUSTOM_DOMAIN: docs.adminerevo.org
|
||||
EXTRA_PACKAGES: build-base
|
||||
Reference in New Issue
Block a user