Skip to content

chore: remove console #5

chore: remove console

chore: remove console #5

Workflow file for this run

name: Step Up Grow Website CI/CD (SSH)
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to Production
if: github.ref == 'refs/heads/main'
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
bash
cd ~/step-up-grow-website
git pull origin main
# Update API URL to production
sed -i 's|http://localhost:5000/api|https://api.stepupgrow.in/api|g' js/main.js
# Update Login URL to production
sed -i 's|http://localhost:5173|https://app.stepupgrow.in|g' index.html