Skip to content

Commit

Permalink
add deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrickaby committed Jul 14, 2024
1 parent 2384346 commit 6238868
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 47 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy

on:
push:
branches: ['main']

workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@main

- name: Deploy Website
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_PRIVATE_KEY }}
port: ${{ secrets.REMOTE_PORT }}
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
sh deploy-reddit-viewer.sh
47 changes: 0 additions & 47 deletions .github/workflows/docker.yml

This file was deleted.

0 comments on commit 6238868

Please sign in to comment.