Skip to content

Commit

Permalink
job update
Browse files Browse the repository at this point in the history
  • Loading branch information
wrutkowski-xebia committed Mar 21, 2024
1 parent 56a9b17 commit a4f0777
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/azure-static-web-apps-lemon-bay-054e84803.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Azure Static Web Apps CI/CD
on: workflow_dispatch

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
Expand All @@ -26,14 +25,4 @@ jobs:
output_location: "/wwwroot" # Built app content directory - optional
###### 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_LEMON_BAY_054E84803 }}
action: "close"

0 comments on commit a4f0777

Please sign in to comment.