aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-07-30 01:26:31 +0200
committerGitHub <noreply@github.com>2024-07-30 01:26:31 +0200
commit2077822b9787159090e58f5ee50b9de4846b57f1 (patch)
treeac6638e34c720524966400a5de741832ec9da345 /.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml
parent0421b2120561d7ac6776ebe3858da06ef3d69314 (diff)
Update azure-static-web-apps-gray-tree-0fe191203.yml
Diffstat (limited to '.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml')
-rw-r--r--.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml b/.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml
index 169ae93..3e16f6d 100644
--- a/.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml
+++ b/.github/workflows/azure-static-web-apps-gray-tree-0fe191203.yml
@@ -4,10 +4,6 @@ on:
push:
branches:
- main
- pull_request:
- types: [opened, synchronize, reopened, closed]
- branches:
- - main
env:
APP_LOCATION: "/dist" # Astro builds to /dist
@@ -16,7 +12,6 @@ env:
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
environment: Production
@@ -43,16 +38,3 @@ jobs:
skip_api_build: true
app_artifact_location: ${{ env.ARTIFACT_LOCATION }}
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:
- app_location: "/"
- azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GRAY_TREE_0FE191203 }}
- action: "close"