Skip to content

Commit

Permalink
[CARD-55] Add ghp-deploy step to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsmth-tier2 committed Mar 25, 2024
1 parent 9778443 commit 5440f14
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ jobs:
needs: release
name: merge
uses: ./.github/workflows/step-merge.yaml
deploy:
needs: merge
name: deploy
uses: ./.github/workflows/step-deploy.yaml
16 changes: 16 additions & 0 deletions .github/workflows/step-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: deploy
on:
workflow_call:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️️
uses: actions/checkout@v3
- name: Build 🔨
run: npm i && npm run build:github
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./dist/webapp
1 change: 1 addition & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
},
"configurations": {
"production": {
"baseHref": "/",
"budgets": [
{
"type": "initial",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:github": "ng build --configuration=production",
"watch": "ng build --watch --configuration development",
"test": "./node_modules/.bin/jest",
"serve:ssr:webapp": "node dist/webapp/server/server.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const environment = {
logLevel: 'ERROR',
services: {
fitTrack: {
baseUrl: 'https://fit-track.cardinal.jrsmth.io',
baseUrl: 'https://fitness-tracker-f55a.onrender.com',
uri: APP_URI.fitTrack
}
}
Expand Down

0 comments on commit 5440f14

Please sign in to comment.