Skip to content

feature: initial version for go estimate (#1) #9

feature: initial version for go estimate (#1)

feature: initial version for go estimate (#1) #9

Workflow file for this run

name: Deploy to DigitalOcean
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DO_SSH_KEY }}
- name: Deploy to DigitalOcean
run: |
ssh -o StrictHostKeyChecking=no ${{secrets.DO_USERNAME}}@${{secrets.DO_IP_ADDR}} 'cd estimate && ./deploy.sh'