From 29fc63f1164d656bd8eb5ad67b07a35ee9d18bcf Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Sun, 10 Nov 2024 22:01:56 +0000 Subject: [PATCH] Clarify steps names for site deployment --- .github/workflows/ci-site.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-site.yml b/.github/workflows/ci-site.yml index 70aa0408..9a973111 100644 --- a/.github/workflows/ci-site.yml +++ b/.github/workflows/ci-site.yml @@ -32,7 +32,7 @@ jobs: - name: available platforms run: echo ${{ steps.buildx.outputs.platforms }} - - name: build and deploy master image to ghcr.io and dockerhub + - name: build and deploy master image to ghcr.io if: ${{ github.ref == 'refs/heads/master' }} env: GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }} @@ -47,7 +47,7 @@ jobs: docker buildx build --push --no-cache --platform linux/amd64,linux/arm/v7,linux/arm64 \ -t ghcr.io/umputun/remark42-site:${ref} . - - name: deploy tagged (latest) to ghcr.io and dockerhub + - name: deploy tagged (latest) to ghcr.io if: ${{ startsWith(github.ref, 'refs/tags/') }} env: GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }}