From 193b107590974f1d5ed2c79ad136ae47a4de0a27 Mon Sep 17 00:00:00 2001 From: Umputun Date: Wed, 11 Aug 2021 01:45:39 -0500 Subject: [PATCH] add remote site deployment from master --- .github/workflows/ci-site.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci-site.yml b/.github/workflows/ci-site.yml index b7d8eb4c..4731930b 100644 --- a/.github/workflows/ci-site.yml +++ b/.github/workflows/ci-site.yml @@ -60,3 +60,9 @@ jobs: echo ${GITHUB_PACKAGE_TOKEN} | docker login ghcr.io -u ${USERNAME} --password-stdin docker buildx build --push --no-cache --platform linux/amd64,linux/arm/v7,linux/arm64 \ -t ghcr.io/${USERNAME}/remark24-site:${ref} -t ghcr.io/${USERNAME}/remark24-site:latest + + - name: remote site deployment from master + if: ${{ github.ref == 'refs/heads/master' }} + env: + UPDATER_KEY: ${{ secrets.UPDATER_KEY }} + run: curl https://jess.umputun.com/update/remark42-site/${UPDATER_KEY}