Files
vagrant-libvirt/.github/workflows/publish-documentation-release.yml
Darragh Bailey 06fa756b98 Update publish docs workflows (#1762)
Switch to standard workflow for building the documentation from pull
requests and use a workflow call to trigger the deployment for write
access. This should limit the ability to compromise documentation site
from forked PRs while allow validation of dependency changes as well as
more of the actions that impact the deploy.
2023-08-28 20:41:36 +01:00

18 lines
308 B
YAML

name: Publish Docs Release
on:
push:
tags:
- '*.*.*'
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy docs
uses: ./.github/workflows/deploy-docs.yml
with:
target-folder: version/${{ github.ref_name }}