[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:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch: # Allow to run workflow manually
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -11,6 +13,7 @@ jobs:
|
|||
uses: actions/checkout@v2.4.0
|
||||
with:
|
||||
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 đ
|
||||
run: |
|
||||
|
|
Laden âŠ
In neuem Issue referenzieren