Skip to content

Create material view containing info for updated ats in store_apps #127

Create material view containing info for updated ats in store_apps

Create material view containing info for updated ats in store_apps #127

Workflow file for this run

name: Push-to-EC2
# Trigger deployment only on push to main branch
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to EC2 on main branch push
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout the files
uses: actions/checkout@v3
- name: Deploy to my EC2
uses: appleboy/ssh-action@master
env:
TARGETDIR: ${{ secrets.TARGET_DIR }}
with:
host: ${{ secrets.HOST_DNS }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
port: 22
envs: TARGETDIR
script_stop: true
script: |
cd $TARGETDIR
pwd
git pull origin main