From 5f4aa93e01942adfd6203ccf1cc30f033568d8f4 Mon Sep 17 00:00:00 2001 From: faris Aljohari <83524184+farisaljohari@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:01:28 +0300 Subject: [PATCH] remove last workflows --- ...static-web-apps-salmon-ocean-0c2902310.yml | 57 ---------------- ...ic-web-apps-zealous-mushroom-0d31a3303.yml | 65 ------------------- 2 files changed, 122 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-salmon-ocean-0c2902310.yml delete mode 100644 .github/workflows/azure-static-web-apps-zealous-mushroom-0d31a3303.yml diff --git a/.github/workflows/azure-static-web-apps-salmon-ocean-0c2902310.yml b/.github/workflows/azure-static-web-apps-salmon-ocean-0c2902310.yml deleted file mode 100644 index f67ed4ec..00000000 --- a/.github/workflows/azure-static-web-apps-salmon-ocean-0c2902310.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -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" - app_location: "/build/web" # App source code path - api_location: "" # Api source code path - optional - output_location: "/build/web" # Built app content directory - optional - - 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" diff --git a/.github/workflows/azure-static-web-apps-zealous-mushroom-0d31a3303.yml b/.github/workflows/azure-static-web-apps-zealous-mushroom-0d31a3303.yml deleted file mode 100644 index 95a05014..00000000 --- a/.github/workflows/azure-static-web-apps-zealous-mushroom-0d31a3303.yml +++ /dev/null @@ -1,65 +0,0 @@ -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: Load Environment Variables - run: | - echo "Loading environment variables from .env.development" - cat .env.development | grep -v '^#' >> $GITHUB_ENV - - - name: Install dependencies - run: flutter pub get - - - name: Build Flutter Web App - run: | - flutter build web --release \ - --dart-define=ENV_NAME=${{ env.ENV_NAME }} \ - --dart-define=BASE_URL=${{ env.BASE_URL }} \ - --dart-define=FLAVOR=development - - - 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" - app_location: "build/web" # App source code path - api_location: "" # Api source code path - optional - output_location: "build/web" # Built app content directory - optional - - 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"