-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be1ce0c
commit c2702e7
Showing
39 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
.github/workflows/azure-static-web-apps-lively-mud-042177e03.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Azure Static Web Apps CI/CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # Trigger on push to main, after merging a PR | ||
pull_request: | ||
types: [opened, synchronize, reopened, closed] # For handling PR updates | ||
|
||
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: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
cd frontend | ||
npm install | ||
- name: Build Application | ||
run: | | ||
cd frontend | ||
npm run build | ||
- 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_LIVELY_MUD_042177E03 }} | ||
action: "upload" | ||
app_location: "./frontend" | ||
output_location: 'dist' | ||
|
||
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_LIVELY_MUD_042177E03 }} | ||
action: "close" |
Binary file modified
BIN
+10 Bytes
(110%)
AgritechSat/AgritechSat/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+43 Bytes
(100%)
AgritechSat/AgritechSat/__pycache__/settings.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0001_initial.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0002_sensordata.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0003_alter_sensordata_timestamp.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0004_delete_customuser.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0005_coordinates.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0006_images.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0007_images_timestamp.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...Backend/migrations/__pycache__/0008_rename_tempereture_images_temperature.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0009_gscoordinates.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...ns/__pycache__/0010_batt_humidity_smoke_soilph_soilprecipitation_and_more.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...chSat/Backend/migrations/__pycache__/0010_rename_temperature_images_image.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0011_images_image_name.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0012_merge_20241025_1824.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0013_location.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...migrations/__pycache__/0014_rename_latitude_coordinates_location_and_more.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...ions/__pycache__/0015_remove_location_location_location_latitude_and_more.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...s/__pycache__/0016_payload_telemetry_delete_batt_delete_humidity_and_more.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/Backend/migrations/__pycache__/0017_alter_coordinates_longitude.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...ckend/migrations/__pycache__/0018_rename_updated_at_coordinates_timestamp.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
...ckend/migrations/__pycache__/0019_payload_created_at_telemetry_created_at.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(110%)
AgritechSat/Backend/migrations/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(110%)
AgritechSat/BackendApi/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
AgritechSat/BackendApi/__pycache__/serializers.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.