Skip to content

Commit

Permalink
Merge pull request #8 from ehsanhajian/ehsanhajian-patch-3
Browse files Browse the repository at this point in the history
Ehsanhajian patch 3
  • Loading branch information
ehsanhajian committed Dec 21, 2023
2 parents cf300cb + a3bd4ac commit 1f9872b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy to DigitalOcean Node

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2


- name: SSH into DO 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Welcome to Remix!
# Welcome to Remix!

- [Remix Docs](https://remix.run/docs)

Expand Down

0 comments on commit 1f9872b

Please sign in to comment.