-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(root): 🚀 set automated deployment for backend
- Loading branch information
Showing
1 changed file
with
8 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,11 @@ on: | |
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cloning repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Push to dokku | ||
uses: dokku/github-action@master | ||
with: | ||
git_remote_url: "ssh://[email protected]/api" | ||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
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 |
ee44c01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ecommerce-storefront-client – ./apps/storefront
ecommerce-storefront-client-git-main-sahrohit.vercel.app
hamropasal.vercel.app
ecommerce-storefront-client-sahrohit.vercel.app
rudejellyfish.live
www.rudejellyfish.live