fix: copy config on start #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
jobs: | |
release-container: | |
uses: radiorabe/actions/.github/workflows/[email protected] | |
with: | |
image: ghcr.io/radiorabe/nut | |
name: nut | |
display-name: RaBe Network UPS Tools | |
tags: minimal rhel9 ubi9 nut | |
cosign-verify: true | |
mkdocs: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: none | |
checks: none | |
contents: write # for pushing gh-pages branch | |
deployments: none | |
issues: none | |
packages: none | |
pull-requests: none | |
repository-projects: none | |
security-events: none | |
statuses: none | |
id-token: none | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: pip install mkdocs mkdocs-material mkdocs-gen-files mkdocs-literate-nav mkdocs-section-index | |
- run: mkdocs build | |
- run: mkdocs gh-deploy | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} |