diff --git a/.github/workflows/azure-static-web-apps-kind-island-0ccba200f.yml b/.github/workflows/azure-static-web-apps-kind-island-0ccba200f.yml index e3e5498b7..db01f238c 100644 --- a/.github/workflows/azure-static-web-apps-kind-island-0ccba200f.yml +++ b/.github/workflows/azure-static-web-apps-kind-island-0ccba200f.yml @@ -15,6 +15,17 @@ jobs: runs-on: ubuntu-latest name: Build and Deploy Job steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 7 + # - name: Use Node.js ${{ matrix.node-version }} + # uses: actions/setup-node@v3 + # with: + # node-version: ${{ matrix.node-version }} + # cache: 'pnpm' + - name: Install dependencies + run: pnpm install - uses: actions/checkout@v2 with: submodules: true @@ -24,12 +35,14 @@ jobs: with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_ISLAND_0CCBA200F }} repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" + 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: "/site" # App source code path - api_location: "api" # Api source code path - optional - output_location: "" # Built app content directory - optional + app_location: '/site' # App source code path + api_location: 'api' # Api source code path - optional + output_location: '' # Built app content directory - optional + env: # Add environment variables here + IS_STATIC_EXPORT: true ###### End of Repository/Build Configurations ###### close_pull_request_job: @@ -42,4 +55,4 @@ jobs: uses: Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_KIND_ISLAND_0CCBA200F }} - action: "close" + action: 'close' diff --git a/.github/workflows/azure-static-web-apps-victorious-dune-011fce610.yml b/.github/workflows/azure-static-web-apps-victorious-dune-011fce610.yml deleted file mode 100644 index 66a2c6c36..000000000 --- a/.github/workflows/azure-static-web-apps-victorious-dune-011fce610.yml +++ /dev/null @@ -1,47 +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: - - uses: actions/checkout@v2 - with: - submodules: true - - 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_VICTORIOUS_DUNE_011FCE610 }} - 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 source code path - optional - output_location: '' # Built app content directory - optional - env: # Add environment variables here - IS_STATIC_EXPORT: true - ###### 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_VICTORIOUS_DUNE_011FCE610 }} - action: 'close'