Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
raja-muhammad-asher committed Apr 3, 2024
2 parents 3ade443 + 2e229f6 commit 8d71b76
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:
branches:
- main
workflow_dispatch:
jobs:
deploy:
if : (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: appleboy/[email protected]
with:
host: ${{secrets.HOST}}
username: ${{secrets.USERNAME}}
password: ${{secrets.PASSWORD}}
script: |
cd /var/www/hotspot.ninova.com
git pull

0 comments on commit 8d71b76

Please sign in to comment.