Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
franfreezy committed Dec 7, 2024
1 parent be1ce0c commit c2702e7
Show file tree
Hide file tree
Showing 39 changed files with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/azure-static-web-apps-lively-mud-042177e03.yml
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 AgritechSat/AgritechSat/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/AgritechSat/__pycache__/settings.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/AgritechSat/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/AgritechSat/__pycache__/wsgi.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/Backend/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/Backend/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/Backend/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/Backend/__pycache__/forms.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/Backend/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/Backend/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/Backend/__pycache__/views.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 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 not shown.
Binary file not shown.
Binary file modified AgritechSat/BackendApi/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/BackendApi/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/BackendApi/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/BackendApi/__pycache__/serializers.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/BackendApi/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file modified AgritechSat/BackendApi/__pycache__/views.cpython-311.pyc
Binary file not shown.

0 comments on commit c2702e7

Please sign in to comment.