[GH-Actions][pages] Add fetch-depth and allow workflow run manually
Dieser Commit ist enthalten in:
Ursprung
48957e1308
Commit
2811d1a756
1 geÀnderte Dateien mit 3 neuen und 0 gelöschten Zeilen
3
.github/workflows/gh-pages.yml
gevendort
3
.github/workflows/gh-pages.yml
gevendort
|
@ -3,6 +3,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
workflow_dispatch: # Allow to run workflow manually
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -11,6 +13,7 @@ jobs:
|
||||||
uses: actions/checkout@v2.4.0
|
uses: actions/checkout@v2.4.0
|
||||||
with:
|
with:
|
||||||
token: '${{ secrets.GHPAGES_ACTION_CHECKOUT_TOKEN_PAT }}'
|
token: '${{ secrets.GHPAGES_ACTION_CHECKOUT_TOKEN_PAT }}'
|
||||||
|
fetch-depth: '0' # https://github.com/timvink/mkdocs-git-revision-date-localized-plugin#note-when-using-build-environments
|
||||||
|
|
||||||
- name: Install dependencies đ
|
- name: Install dependencies đ
|
||||||
run: |
|
run: |
|
||||||
|
|
Laden âŠ
In neuem Issue referenzieren