Skip to content

Commit

Permalink
try moving the file into production
Browse files Browse the repository at this point in the history
  • Loading branch information
Deutscher775 authored Aug 21, 2024
1 parent 0045dda commit 0d804c4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/automated_api_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ jobs:
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: |
cd /root/guildcord
git fetch origin main
git merge origin/main
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy the API
cd /root/astroid
git pull origin main
mv src/api.py /root/guildcord/src/api.py
- name: Deploy API
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
Expand Down

0 comments on commit 0d804c4

Please sign in to comment.