Skip to content

removed yarn install #5

removed yarn install

removed yarn install #5

Workflow file for this run

name: Deploy Poker Tool Frontend
on:
push:
branches:
- workflow
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.21.3]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Setup SSH
uses: webfactory/ssh-agent@v0.5.4
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: SSH to DigitalOcean Droplet
run: |
ssh -o StrictHostKeyChecking=no root@146.190.150.213 'cd /home/poker-tool && git pull origin workflow && yarn build'
# - name: Restart Nginx
# run: |
# ssh -o StrictHostKeyChecking=no user@droplet_ip_address 'sudo systemctl restart nginx'