diff --git a/.gitea/workflows/build_and_deploy.yaml b/.gitea/workflows/build_and_deploy.yaml index e0cf6d7..9479652 100644 --- a/.gitea/workflows/build_and_deploy.yaml +++ b/.gitea/workflows/build_and_deploy.yaml @@ -25,11 +25,11 @@ jobs: - name: Set Destination Folder if MASTER if: ${{ github.ref == 'refs/heads/master' }} - run: echo "DEST_FOLDER=/srv/www/cz/pkmples/www" >> $DEST_FOLDER + run: echo "DEST_FOLDER=/srv/www/cz/pkmples/www" >> $GITHUB_ENV - name: Set Destination Folder if DEV if: ${{ github.ref == 'refs/heads/dev' }} - run: echo "DEST_FOLDER=/srv/www/cz/pkmples/dev" >> $DEST_FOLDER + run: echo "DEST_FOLDER=/srv/www/cz/pkmples/dev" >> $GITHUB_ENV - name: Deploy to server uses: AEnterprise/rsync-deploy@v1.0.2