Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsontr authored Nov 2, 2023
1 parent 6555168 commit d2339ea
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: deploy

on: [push]

jobs:
build_and_test:
uses: neiist-dev/neiist-website/.github/workflows/main.yml@latest

deploy:
runs-on: ubuntu-latest
steps:
- name: SSH into VM
uses: appleboy/ssh-action@v1.0.0
with:
key: ${{ secrets.SSH_KEY }}
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
script: |
touch test.txt
echo "TEST_v1" >> test.txt

0 comments on commit d2339ea

Please sign in to comment.