mirror of https://github.com/wg-easy/wg-easy
4 changed files with 29 additions and 24 deletions
@ -54,4 +54,7 @@ jobs: |
|||||
git config --global user.name 'Docs Deploy Bot' |
git config --global user.name 'Docs Deploy Bot' |
||||
git config --global user.email '[email protected]' |
git config --global user.email '[email protected]' |
||||
- name: Build Docs Website |
- name: Build Docs Website |
||||
run: mike deploy --push nightly |
run: | |
||||
|
cd docs |
||||
|
git fetch origin gh-pages --depth=1 |
||||
|
mike deploy --push --update-aliases nightly |
||||
|
@ -3,8 +3,8 @@ name: Build & Publish Latest |
|||||
on: |
on: |
||||
workflow_dispatch: |
workflow_dispatch: |
||||
push: |
push: |
||||
branches: |
tags: |
||||
- master |
- "v*" |
||||
|
|
||||
jobs: |
jobs: |
||||
deploy: |
deploy: |
||||
@ -27,7 +27,7 @@ jobs: |
|||||
|
|
||||
- name: Docker meta |
- name: Docker meta |
||||
id: meta |
id: meta |
||||
uses: docker/metadata-action@v3 |
uses: docker/metadata-action@v5 |
||||
with: |
with: |
||||
images: | |
images: | |
||||
ghcr.io/wg-easy/wg-easy |
ghcr.io/wg-easy/wg-easy |
||||
@ -67,4 +67,7 @@ jobs: |
|||||
git config --global user.name 'Docs Deploy Bot' |
git config --global user.name 'Docs Deploy Bot' |
||||
git config --global user.email '[email protected]' |
git config --global user.email '[email protected]' |
||||
- name: Build Docs Website |
- name: Build Docs Website |
||||
run: mike deploy --push --update-aliases ${{ github.ref_name }} latest |
run: | |
||||
|
cd docs |
||||
|
git fetch origin gh-pages --depth=1 |
||||
|
mike deploy --push --update-aliases ${{ github.ref_name }} latest |
||||
|
Loading…
Reference in new issue