From 2e535ee4db83f386e338be374d9d453409827059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20Rio?= Date: Wed, 10 Jul 2024 14:34:37 +0700 Subject: [PATCH] ci: Rename task --- .github/workflows/build-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 169cbe4c857..069d662db28 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -106,7 +106,7 @@ jobs: DOCKER_OUTPUT="type=image,name=${{env.REGISTRY}}/abpvn/adguardhome,push=true" VERSION="${{env.VERSION}}" \ build-release build-docker rm -rf ${{env.DIST_FOLDER}}/AdGuardHome_frontend.tar.gz - - name: Create stable release + - name: Create release if: ${{ !contains(env.VERSION, env.DEV_VERSION_CHECK) }} uses: ncipollo/release-action@v1 with: @@ -133,7 +133,7 @@ jobs: echo "${{secrets.SSH_DEPLOY_KEY}}" > ${{env.SSH_KEY_FILE_PATH}} chmod 600 ${{env.SSH_KEY_FILE_PATH}} - - name: Copy release file to Server + - name: Copy version file to Server if: ${{ !contains(env.VERSION, env.DEV_VERSION_CHECK) }} run: | rsync -have "ssh -i ${{env.SSH_KEY_FILE_PATH}} -o StrictHostKeyChecking=no" ${{ env.DIST_FOLDER }}/version.json ${{secrets.SSH_DEPLOY_USER}}@${{secrets.SSH_MAIN_HOST}}:${{secrets.DEPLOY_PATH}}/${{env.BUILD_CHANNEL}}/