Skip to content

Commit 5e9b751

Browse files
committed
Remove Azure deploy
Part of #205
1 parent e9c5bbe commit 5e9b751

File tree

2 files changed

+0
-52
lines changed

2 files changed

+0
-52
lines changed

.github/workflows/deploy.yaml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -12,49 +12,6 @@ env:
1212
TAG: ${{ github.head_ref || github.ref_name }}-${{ github.run_number }}
1313

1414
jobs:
15-
build-deploy-azure-static-site:
16-
runs-on: ubuntu-latest
17-
name: Build and deploy static site
18-
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/setup-java@v4
21-
with:
22-
distribution: temurin
23-
java-version: 21
24-
- name: Setup Gradle
25-
uses: gradle/actions/setup-gradle@v3
26-
- name: gradle jsBrowserProductionLibraryDistribution
27-
working-directory: webtool/gradle/common
28-
run: gradle jsBrowserProductionLibraryDistribution
29-
- uses: actions/setup-node@v4
30-
with:
31-
node-version: 22
32-
cache: npm
33-
cache-dependency-path: ./webtool/frontend/package-lock.json
34-
- run: npm install
35-
working-directory: ./webtool/frontend
36-
- run: npm run build
37-
working-directory: ./webtool/frontend
38-
env:
39-
VITE_BACKEND_URL: https://local4local-backend.zenmo.com
40-
VITE_ANYLOGIC_CALLBACK_URL: https://local4local-backend.zenmo.com
41-
- name: Copy Azure settings
42-
run: cp webtool/frontend/staticwebapp.config.json webtool/frontend/dist/.
43-
- name: Build And Deploy
44-
id: builddeploy
45-
uses: Azure/static-web-apps-deploy@v1
46-
with:
47-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_DEPLOY_TOKEN }}
48-
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
49-
action: "upload"
50-
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
51-
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
52-
# We build in previous steps, because a build failure at this step doesn't block the deploy.
53-
skip_app_build: true
54-
app_location: "/webtool/frontend/dist"
55-
api_location: "" # Api source code path - optional
56-
###### End of Repository/Build Configurations ######
57-
5815
build-backend-container:
5916
runs-on: ubuntu-24.04
6017
steps:

webtool/frontend/staticwebapp.config.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)