Update main.yml
This commit is contained in:
parent
7793642330
commit
fe0fe361f0
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: saturneric/GpgFrontend
|
repository: saturneric/GpgFrontend
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
ref: ${{ github.event.client_payload.message.branch }}
|
ref: ${{ github.event.client_payload.message.branch || "main" }}
|
||||||
path: GpgFrontend
|
path: GpgFrontend
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
git config --local user.email "$(git log --format='%ae' HEAD^!)"
|
git config --local user.email "$(git log --format='%ae' HEAD^!)"
|
||||||
git config --local user.name "$(git log --format='%an' HEAD^!)"
|
git config --local user.name "$(git log --format='%an' HEAD^!)"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update Doxygen ref ${{ github.event.client_payload.message.branch }} on $(date '+%Y-%m-%d %H:%M:%S')"
|
git commit -m "Update Doxygen ref ${{ github.event.client_payload.message.branch || "main" }} on $(date '+%Y-%m-%d %H:%M:%S')"
|
||||||
git config --global --add safe.directory /github/workspace
|
git config --global --add safe.directory /github/workspace
|
||||||
|
|
||||||
- name: Push Document into Repo
|
- name: Push Document into Repo
|
||||||
|
Loading…
Reference in New Issue
Block a user