From 19d9746817b9d7fb9510ba4e6a89eef5ab928ffc Mon Sep 17 00:00:00 2001 From: JKamsker Date: Thu, 27 Jul 2023 23:05:04 +0200 Subject: [PATCH] Just fckn deploy u moron --- ...tatic-web-apps-polite-island-035a0b503.yml | 30 +++++++++++++++++++ .gitignore | 4 +++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-polite-island-035a0b503.yml create mode 100644 .gitignore diff --git a/.github/workflows/azure-static-web-apps-polite-island-035a0b503.yml b/.github/workflows/azure-static-web-apps-polite-island-035a0b503.yml new file mode 100644 index 0000000..2bdf816 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-polite-island-035a0b503.yml @@ -0,0 +1,30 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - gh-pages + +jobs: + 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 + env: + CI: false + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Build And Deploy + id: deploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ZEALOUS_MOSS_0CC734503 }} + 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: "/" # App source code path + api_location: "api" # Api source code path - optional + ###### End of Repository/Build Configurations ###### diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..76361a2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ + +node_modules/ + +build/