[GH-Actions][pages] Add fetch-depth and allow workflow run manually

Dieser Commit ist enthalten in:
Peter 2022-02-06 09:52:49 +01:00
Ursprung 48957e1308
Commit 2811d1a756
Es konnte kein GPG-SchlĂŒssel zu dieser Signatur gefunden werden
GPG-SchlĂŒssel-ID: A40EE5665510C9D5

Datei anzeigen

@ -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: |