Spaces:
Sleeping
Sleeping
Commit
·
91cda69
1
Parent(s):
d92c79f
Add streamlit config
Browse files
.github/workflows/azure-static-web-apps-gentle-moss-05f2a220f.yml
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
name: Azure Static Web Apps CI/CD
|
2 |
-
|
3 |
-
on:
|
4 |
-
push:
|
5 |
-
branches:
|
6 |
-
- main
|
7 |
-
pull_request:
|
8 |
-
types: [opened, synchronize, reopened, closed]
|
9 |
-
branches:
|
10 |
-
- main
|
11 |
-
|
12 |
-
jobs:
|
13 |
-
build_and_deploy_job:
|
14 |
-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
|
15 |
-
runs-on: ubuntu-latest
|
16 |
-
name: Build and Deploy Job
|
17 |
-
steps:
|
18 |
-
- uses: actions/checkout@v3
|
19 |
-
with:
|
20 |
-
submodules: true
|
21 |
-
lfs: false
|
22 |
-
- name: Build And Deploy
|
23 |
-
id: builddeploy
|
24 |
-
uses: Azure/static-web-apps-deploy@v1
|
25 |
-
with:
|
26 |
-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_MOSS_05F2A220F }}
|
27 |
-
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
28 |
-
action: "upload"
|
29 |
-
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
30 |
-
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
31 |
-
app_location: "/" # App source code path
|
32 |
-
api_location: "" # Api source code path - optional
|
33 |
-
output_location: "" # Built app content directory - optional
|
34 |
-
###### End of Repository/Build Configurations ######
|
35 |
-
|
36 |
-
close_pull_request_job:
|
37 |
-
if: github.event_name == 'pull_request' && github.event.action == 'closed'
|
38 |
-
runs-on: ubuntu-latest
|
39 |
-
name: Close Pull Request Job
|
40 |
-
steps:
|
41 |
-
- name: Close Pull Request
|
42 |
-
id: closepullrequest
|
43 |
-
uses: Azure/static-web-apps-deploy@v1
|
44 |
-
with:
|
45 |
-
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_MOSS_05F2A220F }}
|
46 |
-
action: "close"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.streamlit/config.toml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[server]
|
2 |
+
headless = true
|
3 |
+
enableCORS = false
|
4 |
+
port = 8501
|