From f50cb0b57e7d364ea917e4c668b213d7f49322c5 Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 19 Dec 2023 23:01:53 +0100 Subject: [PATCH] aaa --- .forgejo/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1e0a08b..6926eda 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -56,19 +56,19 @@ jobs: - name: stop + cleanup uses: https://github.com/appleboy/ssh-action@master with: - host: $DEPLOY_HOST - username: $DEPLOY_USER + host: ${{ env.DEPLOY_HOST }} + username: ${{ env.DEPLOY_USER }} key: ${{ secrets.SSH_PRIVATE_KEY }} script: | screen -X -S fgo-ta_com-public kill rm -r -f fgo-ta_com/public/* - name: copy using rsync - run: rsync -az --stats static-site/* $DEPLOY_USER@$DEPLOY_HOST:~/fgo-ta_com/public + run: rsync -az --stats static-site/* ${{ env.DEPLOY_USER }}@${{ env.DEPLOY_HOST }}:~/fgo-ta_com/public - name: start uses: https://github.com/appleboy/ssh-action@master with: - host: $DEPLOY_HOST - username: $DEPLOY_USER + host: ${{ env.DEPLOY_HOST }} + username: ${{ env.DEPLOY_USER }} key: ${{ secrets.SSH_PRIVATE_KEY }} script: | PATH="$HOME/.local/bin:$PATH"