mirror of https://github.com/wg-easy/wg-easy
2 changed files with 32 additions and 4 deletions
@ -12,7 +12,7 @@ jobs: |
|||
if: github.repository_owner == 'wg-easy' |
|||
permissions: |
|||
packages: write |
|||
contents: read |
|||
contents: write |
|||
steps: |
|||
- uses: actions/checkout@v4 |
|||
with: |
|||
@ -40,3 +40,18 @@ jobs: |
|||
tags: ghcr.io/wg-easy/wg-easy:nightly |
|||
cache-from: type=gha |
|||
cache-to: type=gha,mode=min |
|||
|
|||
- name: Setup Python |
|||
uses: actions/setup-python@v5 |
|||
with: |
|||
python-version: 3.11.9 |
|||
- name: Install Dependencies |
|||
run: | |
|||
pip install mkdocs-material |
|||
pip install pillow cairosvg mike |
|||
- name: Setup Docs Deploy |
|||
run: | |
|||
git config --global user.name 'Docs Deploy Bot' |
|||
git config --global user.email '[email protected]' |
|||
- name: Build Docs Website |
|||
run: mike deploy --push nightly |
|||
|
@ -15,11 +15,9 @@ jobs: |
|||
startsWith(github.ref, 'refs/tags/v') |
|||
permissions: |
|||
packages: write |
|||
contents: read |
|||
contents: write |
|||
steps: |
|||
- uses: actions/checkout@v4 |
|||
with: |
|||
ref: production |
|||
|
|||
- name: Set up QEMU |
|||
uses: docker/setup-qemu-action@v3 |
|||
@ -55,3 +53,18 @@ jobs: |
|||
labels: ${{ steps.meta.outputs.labels }} |
|||
cache-from: type=gha |
|||
cache-to: type=gha,mode=min |
|||
|
|||
- name: Setup Python |
|||
uses: actions/setup-python@v5 |
|||
with: |
|||
python-version: 3.11.9 |
|||
- name: Install Dependencies |
|||
run: | |
|||
pip install mkdocs-material |
|||
pip install pillow cairosvg mike |
|||
- name: Setup Docs Deploy |
|||
run: | |
|||
git config --global user.name 'Docs Deploy Bot' |
|||
git config --global user.email '[email protected]' |
|||
- name: Build Docs Website |
|||
run: mike deploy --push --update-aliases ${{ github.ref_name }} latest |
|||
|
Loading…
Reference in new issue