From 2dfaa196cd436bf7c9907d578a92983e31961b87 Mon Sep 17 00:00:00 2001 From: Saturn&Eric Date: Mon, 9 May 2022 06:34:07 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8fc70a5..c2b6572d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: with: repository: saturneric/GpgFrontend submodules: recursive - ref: ${{ github.event.client_payload.message.branch || "main" }} + ref: ${{ github.event.client_payload.message.branch || 'main' }} path: GpgFrontend - uses: actions/checkout@v3 @@ -48,7 +48,7 @@ jobs: git config --local user.email "$(git log --format='%ae' HEAD^!)" git config --local user.name "$(git log --format='%an' HEAD^!)" git add . - git commit -m "Update Doxygen ref ${{ github.event.client_payload.message.branch || "main" }} 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 - name: Push Document into Repo