Skip to content

Merge pull request #13 from AstarNetwork/feature/signed-tx #8

Merge pull request #13 from AstarNetwork/feature/signed-tx

Merge pull request #13 from AstarNetwork/feature/signed-tx #8

Workflow file for this run

name: Deploy to DigitalOcean Node
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: SSH into DO-1 instance
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DO_HOST }}
username: ${{ secrets.DO_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd /gacha/zk-journey-poc/
git stash
git pull
npm ci
npm run build
sudo systemctl restart zk-journey.service