Compare commits

..

20 Commits

Author SHA1 Message Date
e331d35a6c Remove test heading from index.html 2024-08-25 14:49:56 +03:00
da86d63162 v2 2024-08-25 13:38:32 +03:00
d034f46f46 Merge branch 'dev' of https://github.com/SyncrowIOT/web into dev 2024-08-25 13:37:07 +03:00
52fdf6f19b flutter ubild 2024-08-25 13:36:22 +03:00
3b2522fa77 Merge branch 'dev' of https://github.com/SyncrowIOT/web into dev 2024-08-25 13:19:47 +03:00
89a5e9899e add test header 2024-08-25 13:19:35 +03:00
44e6595e39 /web 2024-08-25 13:17:40 +03:00
ab417ae085 Merge branch 'dev' of https://github.com/SyncrowIOT/web into dev 2024-08-25 13:14:47 +03:00
85bd738749 add nav failback 2024-08-25 13:14:42 +03:00
c9bb32f369 Remove Flutter build steps and update app location paths in Azure Static Web Apps workflow 2024-08-25 13:06:35 +03:00
1ced4f846a test deploy 2024-08-25 13:03:39 +03:00
940098ed9a Refactor GitHub Actions workflow for Azure Static Web Apps deployment 2024-08-25 12:58:44 +03:00
ba9256d6fc Update GitHub workflow to verify Flutter SDK version 2024-08-25 12:56:47 +03:00
f268545fb0 Update Flutter version in Azure Static Web Apps workflow 2024-08-25 12:53:15 +03:00
804668d6a3 Disable Flutter Telemetry in GitHub Actions Workflow 2024-08-25 12:50:26 +03:00
3f854d54a3 Update GitHub Workflow for Azure Static Web Apps to Include Flutter Build Steps 2024-08-25 12:47:49 +03:00
17fb3d34dd change app folder 2024-08-25 12:35:09 +03:00
cc7e3eb92f ci: add Azure Static Web Apps workflow file
on-behalf-of: @Azure opensource@microsoft.com
2024-08-25 12:25:25 +03:00
db7119848d Delete CNAME 2024-08-25 12:04:54 +03:00
55cdd6befd Create CNAME 2024-08-25 12:00:30 +03:00
3 changed files with 77 additions and 12 deletions

View File

@ -0,0 +1,60 @@
name: Azure Static Web Apps CI/CD
on:
push:
branches:
- dev
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- dev
jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
submodules: true
lfs: false
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.2' # Specify the Flutter version you want to use
- name: Install dependencies
run: flutter pub get
- name: Build Flutter Web App
run: flutter build web
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ZEALOUS_MUSHROOM_0D31A3303 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/build/web" # App source code path
api_location: "" # Api source code path - optional
output_location: "/build/web" # Built app content directory - optional
###### End of Repository/Build Configurations ######
close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ZEALOUS_MUSHROOM_0D31A3303 }}
action: "close"

View File

@ -260,18 +260,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
url: "https://pub.dev"
source: hosted
version: "10.0.4"
version: "10.0.5"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
url: "https://pub.dev"
source: hosted
version: "3.0.3"
version: "3.0.5"
leak_tracker_testing:
dependency: transitive
description:
@ -300,18 +300,18 @@ packages:
dependency: transitive
description:
name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
version: "0.8.0"
version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
version: "1.12.0"
version: "1.15.0"
nested:
dependency: transitive
description:
@ -521,10 +521,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
version: "0.7.2"
typed_data:
dependency: transitive
description:
@ -569,10 +569,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.1"
version: "14.2.5"
web:
dependency: transitive
description:

5
staticwebapp.config.json Normal file
View File

@ -0,0 +1,5 @@
{
"navigationFallback": {
"rewrite": "/index.html"
}
}