mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
40 lines
871 B
YAML
40 lines
871 B
YAML
name: Deploy Docs
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
extra-config:
|
|
required: false
|
|
type: string
|
|
target-folder:
|
|
required: false
|
|
type: string
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
concurrency: publish-gh-pages
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout 🛎️
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build Docs 🔧
|
|
uses: ./.github/workflows/build-docs
|
|
with:
|
|
target-folder: ${{ inputs.target-folder }}
|
|
extra-config: ${{ inputs.extra-config }}
|
|
|
|
- name: Deploy 🚀
|
|
uses: JamesIves/github-pages-deploy-action@v4.4.3
|
|
with:
|
|
branch: gh-pages
|
|
folder: build
|
|
force: false
|
|
target-folder: ${{ inputs.target-folder }}
|
|
clean-exclude: |
|
|
pr-preview/
|
|
version/
|
|
|