Skip to content

Commit

Permalink
add: dploy for version 15
Browse files Browse the repository at this point in the history
  • Loading branch information
umer2001 committed Nov 4, 2023
1 parent 802eeb3 commit 4b06acb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This is a basic workflow to help you get started with Actions

name: CI and CD beta.zaviago.com

on:
push:
branches: [ "version-15" ]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Deploy to DO Droplet
uses: appleboy/ssh-action@v0.1.10
with:
host: ${{ secrets.SERVER_IP_15 }}
username: ${{ vars.SERVER_USER_15 }}
key: ${{ secrets.SERVER_KEY_15 }}
port: ${{ secrets.SERVER_PORT_15 }}
script: |
export GIT_SSH_COMMAND=~/custom_keys_git_ssh.sh
cd /home/davil/frappe-night/apps/frappe
git pull origin version-15
yarn install
bench build --app frappe
bench migrate

0 comments on commit 4b06acb

Please sign in to comment.