From a8618a66f5ce36164431b6a1d98a36d5ce3535c7 Mon Sep 17 00:00:00 2001 From: Chris Thompson Date: Thu, 22 May 2025 17:30:51 -0400 Subject: [PATCH] Do the same thing (again, almost) for the second step --- .forgejo/workflows/demo.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index 23c0033..ccf36c0 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -38,11 +38,26 @@ jobs: deploy: needs: build if: vars.DEPLOY_TEST == 1 + environment: + name: test + url: https://app.housingworks.net/ + env: + BACKUP_DIR: "/home/app_test/backups" + BUILD_ROOT: build + SSH_TARGET: test + DEPLOY_ENV: test + DEPLOY_ROOT: /var/www/app.housingworks.net + DRUSH_DISABLE: ${{ vars.DRUSH_DISABLE }} + GOOGLEMAPS_API_KEY: ${{ secrets.GOOGLEMAPS_API_KEY }} container: image: git.agaric.com/agaric/deploycontainer:0.0.3 credentials: username: ${ github.actor } password: ${ secrets.github_token } - runs-on: docker steps: - - run: echo All Good, REALLY + - name: retrieve artifacts + uses: https://code.forgejo.org/forgejo/download-artifact@v4 + - name: deploy to test + run: | + eval `ssh-agent -s` + ssh-add -l