Skip to content

Commit

Permalink
ci(root): 🚀 set automated deployment for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
sahrohit committed Aug 6, 2023
1 parent ee44c01 commit 7e2221b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ on:
branches:
- main

steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: "hamroapi.rudejellyfish.live"
username: "azureuser"
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: dokku git:sync --build api https://github.com/sahrohit/fullstack-ecommmerce.git main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: "hamroapi.rudejellyfish.live"
username: "azureuser"
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: dokku git:sync --build api https://github.com/sahrohit/fullstack-ecommmerce.git main

1 comment on commit 7e2221b

@vercel
Copy link

@vercel vercel bot commented on 7e2221b Aug 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.