Add Ko-fi card, limit to 3/row #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Next App | |
on: | |
push: | |
branches: [live] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Pulling & Restarting | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.REMOTE_IP }} | |
username: ${{ secrets.REMOTE_USERNAME }} | |
password: ${{ secrets.REMOTE_PASSWORD }} | |
key: ${{ secrets.SSH_KEY }} | |
port: 22 | |
script_stop: true | |
script: | | |
cd next-sukadia.dev | |
git stash | |
git stash drop || true | |
git pull origin live | |
npm i | |
pm2 restart sukadia.dev |