Merge pull request #9 from sahrohit/develop #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Backend | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "apps/api/**" | |
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-ecommerce.git main |