From 784fec4238eb4f49db5ec45465a5185294594dd8 Mon Sep 17 00:00:00 2001 From: kagami Date: Sat, 11 May 2024 17:03:59 +0800 Subject: [PATCH] Sync scripts branch to gitlab --- .github/workflows/sync-to-gitlab.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-to-gitlab.yml b/.github/workflows/sync-to-gitlab.yml index 9784103..be7321b 100644 --- a/.github/workflows/sync-to-gitlab.yml +++ b/.github/workflows/sync-to-gitlab.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - scripts jobs: sync: @@ -30,4 +31,4 @@ jobs: max_attempts: 3 command: | git fetch gitlab && - git push gitlab --force main:main + git push gitlab --force $GITHUB_REF_NAME:$GITHUB_REF_NAME