Skip to content

Do rename trackId if it has not already been added #319

Do rename trackId if it has not already been added

Do rename trackId if it has not already been added #319

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 on main branch push
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout the files
uses: actions/checkout@v4
- name: Deploy to my server
uses: appleboy/ssh-action@master
env:
TARGETDIR: ${{ secrets.TARGET_DIR }}
with:
host: ${{ secrets.HOST_DNS }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
envs: TARGETDIR
script_stop: true
script: |
cd $TARGETDIR
pwd
git pull origin main