From 3c0235ef6226a81d972461d99f8ea506b3890a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Gabriel?= <35270174+monambike@users.noreply.github.com> Date: Sun, 18 Feb 2024 22:58:10 -0300 Subject: [PATCH] Update push-hostinger.yml --- .github/workflows/push-hostinger.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push-hostinger.yml b/.github/workflows/push-hostinger.yml index 9d748a7..c852d5b 100644 --- a/.github/workflows/push-hostinger.yml +++ b/.github/workflows/push-hostinger.yml @@ -8,7 +8,11 @@ on: jobs: build: runs-on: ubuntu-latest - + + env: + GIT_USERNAME: ${{ secrets.GIT_USERNAME }} + GIT_PACKAGES_TOKEN: ${{ secrets.GIT_PACKAGES_TOKEN }} + steps: - name: Checkout code uses: actions/checkout@v2 @@ -26,9 +30,6 @@ jobs: - name: Deploy via FTP uses: SamKirkland/FTP-Deploy-Action@v4.3.4 - env: - GIT_USERNAME: ${{ secrets.GIT_USERNAME }} - GIT_PACKAGES_TOKEN: ${{ secrets.GIT_PACKAGES_TOKEN }} with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }}