Skip to content

Commit

Permalink
Updated deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AeroBytesNL committed Dec 20, 2024
1 parent 400bea4 commit 005ebb2
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Continuous Deployment

on:
release:
type: [published]
pull_request:
branches:
- main

push:
branches:
- main

jobs:
deploy:
Expand All @@ -12,8 +17,6 @@ jobs:

- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Deploy to server
run
- name: Run deploy sh script
run:
ssh -o StrictHostKeyChecking=no [email protected]

0 comments on commit 005ebb2

Please sign in to comment.