fix(container): update registry.k8s.io/kubectl ( v1.32.1 → v1.32.2 ) #275
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: "Docs" | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
paths: | |
- .github/workflows/docs.yaml | |
- docs/** | |
- README.md | |
- kubernetes/** | |
permissions: | |
actions: write | |
contents: read | |
id-token: write | |
pages: write | |
jobs: | |
build: | |
name: Build Docs | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- name: Generate Token | |
uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: "${{ secrets.BOT_APP_ID }}" | |
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: "${{ steps.app-token.outputs.token }}" | |
- name: Setup Pages | |
id: pages | |
uses: actions/configure-pages@v5 | |
with: | |
token: "${{ steps.app-token.outputs.token }}" | |
enablement: true | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.13 #install the python needed | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f hack/requirements.txt ]; then pip install -r hack/requirements.txt; fi | |
- name: execute py script # run file | |
run: | | |
python hack/flux-visualizer.py | |
mv graph.html docs/src/assets/graph.html | |
- name: Build docs | |
uses: docker://ghcr.io/bjw-s/mdbook:0.4.44@sha256:82d38ed9bca2bbf0c3be62deef3ea1a27fdbffe3caf92fedf4a4b3c4c904ec48 | |
with: | |
args: mdbook build docs | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: ./docs/book | |
publish: | |
name: Publish Docs | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Generate Token | |
uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: "${{ secrets.BOT_APP_ID }}" | |
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 | |
with: | |
token: "${{ steps.app-token.outputs.token }}" |