Bernd Storath
11 months ago
No known key found for this signature in database
GPG Key ID: D6C85685A555540F
2 changed files with
32 additions and
4 deletions
-
.github/workflows/deploy-nightly.yml
-
.github/workflows/deploy.yml
|
@ -12,7 +12,7 @@ jobs: |
|
|
if: github.repository_owner == 'wg-easy' |
|
|
if: github.repository_owner == 'wg-easy' |
|
|
permissions: |
|
|
permissions: |
|
|
packages: write |
|
|
packages: write |
|
|
contents: read |
|
|
contents: write |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v4 |
|
|
- uses: actions/checkout@v4 |
|
|
with: |
|
|
with: |
|
@ -40,3 +40,18 @@ jobs: |
|
|
tags: ghcr.io/wg-easy/wg-easy:nightly |
|
|
tags: ghcr.io/wg-easy/wg-easy:nightly |
|
|
cache-from: type=gha |
|
|
cache-from: type=gha |
|
|
cache-to: type=gha,mode=min |
|
|
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 'docs.deploy@users.noreply.github.com' |
|
|
|
|
|
- name: Build Docs Website |
|
|
|
|
|
run: mike deploy --push nightly |
|
|
|
@ -15,11 +15,9 @@ jobs: |
|
|
startsWith(github.ref, 'refs/tags/v') |
|
|
startsWith(github.ref, 'refs/tags/v') |
|
|
permissions: |
|
|
permissions: |
|
|
packages: write |
|
|
packages: write |
|
|
contents: read |
|
|
contents: write |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v4 |
|
|
- uses: actions/checkout@v4 |
|
|
with: |
|
|
|
|
|
ref: production |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU |
|
|
- name: Set up QEMU |
|
|
uses: docker/setup-qemu-action@v3 |
|
|
uses: docker/setup-qemu-action@v3 |
|
@ -55,3 +53,18 @@ jobs: |
|
|
labels: ${{ steps.meta.outputs.labels }} |
|
|
labels: ${{ steps.meta.outputs.labels }} |
|
|
cache-from: type=gha |
|
|
cache-from: type=gha |
|
|
cache-to: type=gha,mode=min |
|
|
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 'docs.deploy@users.noreply.github.com' |
|
|
|
|
|
- name: Build Docs Website |
|
|
|
|
|
run: mike deploy --push --update-aliases ${{ github.ref_name }} latest |
|
|