mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-25 09:06:24 +00:00
21 lines
524 B
YAML
21 lines
524 B
YAML
name: Docs
|
|
on:
|
|
push:
|
|
tags: [ "v*" ]
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v1
|
|
- name: Build and deploy mkdocs site
|
|
run: |
|
|
git config --global user.name "github-actions[bot]"
|
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
make build-docs
|
|
sudo chown -R ${UID}:${UID} docs
|
|
make deploy-docs
|
|
|