Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
Added CiCd for Laravel-todo
  • Loading branch information
kaungthant1083 authored Apr 2, 2024
1 parent 19989df commit 4b16d51
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy ToDo App
on:
push:
branches:
- master
jobs:
deployapp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy to server
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST}}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSHKEY}}
script: "cd /home/ubuntu/devops && ./deploy.sh"

0 comments on commit 4b16d51

Please sign in to comment.