Skip to content

Commit

Permalink
different deploy (#10)
Browse files Browse the repository at this point in the history
* add github workflow file and fix compiler errors

* add deploy script

* add strict compiler flag and update packages

* successfully set up auth test and add http error models

* get some tests written and stub out the rest

* finish auth tests

* move error models; fix tslint errors

* reformat constructor

Signed-off-by: Connor Ruggles <conruggles@gmail.com>

* finish tests for logic; still need to figure out full integration tests

* update packages

* update packages

* use different process for dev runs

* get rid of deploy script, move everything over to github actions

* use different action for ssh
  • Loading branch information
rugglcon authored May 4, 2020
1 parent 11b5c42 commit 3f0846a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,17 @@ jobs:
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
password: ${{ secrets.SSH_PASS }}
port: ${{ secrets.SSH_PORT }}
source: "./dist/*"
target: ${{ secrets.SSH_DEST }}
- name: restart budgets server
run: ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} ${{ secrets.SSH_CMD }}
uses: garygrossgarten/github-action-ssh@release
with:
command: ${{ secrets.SSH_CMD }}
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASS }}
port: ${{ secrets.SSH_PORT }}
env:
CI: true

0 comments on commit 3f0846a

Please sign in to comment.