Do the same thing (again, almost) for the second step
Some checks are pending
/ build (push) Successful in 6s
/ deploy (push) Waiting to run

This commit is contained in:
Chris Thompson 2025-05-22 17:30:51 -04:00
parent 6f064c7697
commit a8618a66f5

View file

@ -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