2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-04 15:56:25 +00:00
d2vm/.github/workflows/docs.yaml
Adphi a6163db5b8
actions: publish docs only on tag
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-12 11:23:50 +02:00

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