Skip to content

Commit

Permalink
build on push
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Jan 6, 2024
1 parent b034b70 commit f575cae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/frontend-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- main
- swot-front
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
Expand All @@ -20,7 +21,7 @@ concurrency:

defaults:
run:
working-directory: './app/frontend'
working-directory: './frontend'

jobs:
# Single deploy job since we're just deploying
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
uses: actions/upload-pages-artifact@v1
with:
# Upload dist repository
path: './app/frontend/dist'
path: './frontend/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
10 changes: 1 addition & 9 deletions env.template
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
ARGO_HOST=https://workflows.argo.cuahsi.io
ARGO_NAMESPACE=workflows
ARGO_BEARER_TOKEN=Bearer v2:eyJhbGciOi... ARGO_TOKEN value from https://workflows.argo.cuahsi.io/userinfo

MONGO_URL=mongodb://root:password@mongodb
MONGO_DATABASE=swotvis

OAUTH2_CLIENT_ID=subsetter
OAUTH2_CLIENT_ID=swotvis
OAUTH2_CLIENT_SECRET=<Get From Keycloak>

MINIO_ACCESS_KEY=
MINIO_SECRET_KEY=
MINIO_API_URL=api.minio.cuahsi.io

VITE_APP_NAME=swotvis

# if using npm run dev, set VITE_APP_ORIGIN=http://localhost:5173
Expand Down

0 comments on commit f575cae

Please sign in to comment.