|
|
@ -3,8 +3,8 @@ name: Build & Publish Latest |
|
|
|
on: |
|
|
|
workflow_dispatch: |
|
|
|
push: |
|
|
|
branches: |
|
|
|
- master |
|
|
|
tags: |
|
|
|
- "v*" |
|
|
|
|
|
|
|
jobs: |
|
|
|
deploy: |
|
|
@ -27,7 +27,7 @@ jobs: |
|
|
|
|
|
|
|
- name: Docker meta |
|
|
|
id: meta |
|
|
|
uses: docker/metadata-action@v3 |
|
|
|
uses: docker/metadata-action@v5 |
|
|
|
with: |
|
|
|
images: | |
|
|
|
ghcr.io/wg-easy/wg-easy |
|
|
@ -67,4 +67,7 @@ jobs: |
|
|
|
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 |
|
|
|
run: | |
|
|
|
cd docs |
|
|
|
git fetch origin gh-pages --depth=1 |
|
|
|
mike deploy --push --update-aliases ${{ github.ref_name }} latest |
|
|
|