-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: WEB - Deploy to GH Pages | ||
name: WEB - Build Application | ||
|
||
on: | ||
push: | ||
|
@@ -8,12 +8,12 @@ on: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [8.x, 10.x, 12.x] | ||
# Don't want to deploy multiple times for multiple versions | ||
node-version: [12.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -29,10 +29,32 @@ jobs: | |
# - run: npm run test:unit | ||
# working-directory: ./web | ||
# env: | ||
# CI: true | ||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
SSH: true | ||
BRANCH: gh-pages | ||
FOLDER: dist | ||
# # CI: true | ||
# - name: Deploy | ||
# uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
# with: | ||
# ACCESS_TOKEN: ${{ secrets.timemachineDeploy}} | ||
# BRANCH: gh-pages | ||
# FOLDER: web/dist | ||
|
||
# NOT WORKING BUT SHOULD BE CLOSE? | ||
# - name: Deploy to Dev server | ||
# uses: easingthemes/[email protected] | ||
# env: | ||
# SSH_PRIVATE_KEY: ${{ secrets.timemachine_dev_ssh_public_key }} | ||
# ARGS: "-rltgoDzvO" | ||
# SOURCE: "dist/" | ||
# REMOTE_HOST: ${{ secrets.timemachine_dev_ip }} | ||
# REMOTE_USER: ${{ secrets.timemachine_dev_user }} | ||
# TARGET: ${{ secrets.timemachine_dev_path }} | ||
# - name: copy file via ssh key | ||
# uses: appleboy/scp-action@master | ||
# env: | ||
# HOST: ${{ secrets.timemachine_dev_ip }} | ||
# USERNAME: ${{ secrets.timemachine_dev_user }} | ||
# PORT: ${{ secrets.PORT }} | ||
# KEY: ${{ secrets.timemachine_dev_ssh_public_key }} | ||
# with: | ||
# source: "dist/*" | ||
# target: "${{ secrets.timemachine_dev_path }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
db/ | ||
db/ | ||
deploy.sh | ||
deploy-api.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
VUE_APP_API_URI=http://localhost:3000 | ||
VUE_APP_KEYCLOAK_JSON_FILENAME=keycloak-local | ||
VUE_APP_API_URI=http://207.216.46.85:3000 | ||
# TODO - Change this URL above once we have the API setup. Maybe same URL but diff port? | ||
VUE_APP_KEYCLOAK_JSON_FILENAME=statics/keycloak-local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters