Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardcrompton authored Apr 11, 2024
1 parent 1752792 commit 78f8554
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: DigitalOcean App Platform deployment
uses: digitalocean/[email protected]
- uses: actions/checkout@v1
- name: Push to server
uses: appleboy/ssh-action@master
with:
app_name: php-lle
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
script: cd ${{ secrets.PROJECT_PATH }} && git pull

0 comments on commit 78f8554

Please sign in to comment.