2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-17 21:46:24 +00:00
d2vm/.github/workflows/docs.yaml

21 lines
524 B
YAML
Raw Normal View History

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