Skip to content

Merge pull request #38 from xendfinance/fix/apy #50

Merge pull request #38 from xendfinance/fix/apy

Merge pull request #38 from xendfinance/fix/apy #50

Workflow file for this run

name: Layer2 UI
on:
push:
branches: [main]
jobs:
layer2_frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: echo "${{ secrets.GCP_VM_PRIVATE_KEY }}" > id_rsa
- run: chmod -R 600 id_rsa
- run: ssh -i id_rsa -o StrictHostKeyChecking=no [email protected] "cd /var/www/layer2 && git pull origin main && npm install && pm2 restart parse-apps.config.js && exit"