Skip to content

Commit

Permalink
Updates ghaction
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsteidl committed Nov 25, 2023
1 parent fa3cf5e commit b6f6c29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
- name: Deploy to prod
uses: garygrossgarten/github-action-ssh@release
with:
host: ${{secrets.SSH_HOST}}
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
privateKey: ${{ secrets.SSH_KEY }}
command: |
cd ~/providencedenver.org/web/
cd ~/${{ secrets.SSH_HOST }}/web/
git pull
wp db export pbc_wp_prod_`date +%Y-%m-%d-%H.%M.%S`.sql --gzip
wp db export ~/backups/pbc_wp_prod_`date +%Y-%m-%d-%H.%M.%S`.sql
wp core update-db

0 comments on commit b6f6c29

Please sign in to comment.