Skip to content

Commit

Permalink
Testing more manual deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
amaldonadomat committed Feb 19, 2024
1 parent 89014ec commit 2ae4405
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/deploy-api-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,15 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
path: substrait-fiddle

- name: Add env variables
uses: appleboy/[email protected]
env:
VITE_SESSION_SECRET: ${{ secrets.VITE_SESSION_SECRET }}
- name: Copy files to remote repository
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_HOST_DNS }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
envs: VITE_SESSION_SECRET
script: export VITE_SESSION_SECRET=$VITE_SESSION_SECRET

- name: Docker-Compose Remote Deployment
uses: matiasnu/github-action-ssh-docker-compose@7fb3aa789f898b63c3722e6beb2dafa1a70f0e22 # v2.0.3
with:
ssh_host: ${{ secrets.DEPLOY_HOST_DNS }}
ssh_private_key: ${{ secrets.DEPLOY_SSH_KEY }}
ssh_user: ${{ secrets.DEPLOY_USERNAME }}
docker_compose_prefix: deploy
rm: true
source: "substrait-fiddle/*"
target: ~/deployment

0 comments on commit 2ae4405

Please sign in to comment.