Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachdidit authored Sep 22, 2024
1 parent 29e3ca3 commit 81cea3d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@ on:
jobs:
deployment:
runs-on: ubuntu-latest
environment: production
steps:
- name: deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Deploying to AWS
uses: appleboy/ssh-action@master # An action made to control Linux servers
with: # We set all our secrets here for the action, these won't be shown in the action logs
uses: appleboy/ssh-action@master # An action made to control Linux servers
with: # We set all our secrets here for the action, these won't be shown in the action logs
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
run: |
script: |
cd ${{ secrets.APPDIR }}
git pull # we pull any changes from git
npm prune # we remove any unused dependencies
Expand Down

0 comments on commit 81cea3d

Please sign in to comment.