Skip to content

Commit

Permalink
didnt work, trying something else
Browse files Browse the repository at this point in the history
  • Loading branch information
Deutscher775 authored Aug 21, 2024
1 parent 4952033 commit 00714f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/automated_api_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
jobs:
pull_changes:
runs-on: ubuntu-latest
file-depth: 1
steps:
- name: API Shutdown
uses: appleboy/ssh-action@master
Expand All @@ -28,7 +27,8 @@ jobs:
port: ${{ secrets.SSH_PORT }}
script: |
cd /root/astroid
git pull origin main
git fetch origin main
git merge origin/main
deploy:
runs-on: ubuntu-latest
steps:
Expand All @@ -40,4 +40,4 @@ jobs:
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: |
sudo systemctl start astroidapi
sudo systemctl start astroidapi

0 comments on commit 00714f9

Please sign in to comment.