Skip to content

Commit

Permalink
WIP deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
wraitii committed Oct 27, 2021
1 parent de5cfc6 commit 93d6cf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
export_default_credentials: true

- name: SSH to VM & deploy.
run: gcloud compute ssh ${{ secrets.GCP_INSTANCE }} --zone="europe-west3-c" --ssh-key-expire-after=2m --command="git clone https://github.com/S-L-Technologies/brq-builder.git"
run: gcloud compute ssh ${{ secrets.GCP_INSTANCE }} --zone="europe-west3-c" --ssh-key-expire-after=2m --command="git clone https://github.com/S-L-Technologies/brq-builder.git && brq-builder/scripts/deploy.sh"
2 changes: 2 additions & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npm ci
npm run build

0 comments on commit 93d6cf1

Please sign in to comment.