Skip to content

feat: update nginx configuration for domain change and enhance routing #2

feat: update nginx configuration for domain change and enhance routing

feat: update nginx configuration for domain change and enhance routing #2

Workflow file for this run

name: Deploy to Alibaba Simple Application Server
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
script: |
cd /root/penginfo-handal-hackathon
git pull origin master
docker build -t penginfo-handal-hackathon-web-frontend ./frontend
docker build -t penginfo-handal-hackathon-api-server ./api
docker restart penginfo-web-frontend
docker restart penginfo-api-server