Skip to content

Commit

Permalink
disable deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
hussam-i-am committed Jan 9, 2025
1 parent 992d712 commit b454071
Showing 1 changed file with 120 additions and 120 deletions.
240 changes: 120 additions & 120 deletions .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,126 +111,126 @@ jobs:
state: 'failure'
deployment-id: ${{ steps.storybook.outputs.deployment_id }}

deploy-vrt-no-flag:
name: VRT (No flags enabled)
if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
needs: [vrt-reports, deploy-preview]
permissions:
deployments: write
runs-on: ubuntu-latest
steps:
- uses: chrnorm/[email protected]
name: Create GitHub deployment for vrt-no-flag
id: vrt-no-flag
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: vrt-no-flag--${{ github.event.number }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-no-flag'
- name: Update vrt-no-flag deployment status (success)
if: success()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-no-flag'
state: 'success'
deployment-id: ${{ steps.vrt-no-flag.outputs.deployment_id }}
- name: Update vrt-no-flag deployment status (failure)
if: failure()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
state: 'failure'
deployment-id: ${{ steps.vrt-no-flag.outputs.deployment_id }}
# deploy-vrt-no-flag:
# name: VRT (No flags enabled)
# if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
# needs: [vrt-reports, deploy-preview]
# permissions:
# deployments: write
# runs-on: ubuntu-latest
# steps:
# - uses: chrnorm/[email protected]
# name: Create GitHub deployment for vrt-no-flag
# id: vrt-no-flag
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment: vrt-no-flag--${{ github.event.number }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-no-flag'
# - name: Update vrt-no-flag deployment status (success)
# if: success()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-no-flag'
# state: 'success'
# deployment-id: ${{ steps.vrt-no-flag.outputs.deployment_id }}
# - name: Update vrt-no-flag deployment status (failure)
# if: failure()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# state: 'failure'
# deployment-id: ${{ steps.vrt-no-flag.outputs.deployment_id }}

deploy-vrt-all-flags:
name: VRT (All flags enabled)
if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
needs: [vrt-reports, deploy-preview]
permissions:
deployments: write
runs-on: ubuntu-latest
steps:
- uses: chrnorm/[email protected]
name: Create GitHub deployment for vrt-all-flags
id: vrt-all-flags
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: vrt-all-flags-${{ github.event.number }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-all-flags'
- name: Update vrt-all-flags deployment status (success)
if: success()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-all-flags'
state: 'success'
deployment-id: ${{ steps.vrt-all-flags.outputs.deployment_id }}
- name: Update vrt-all-flags deployment status (failure)
if: failure()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
state: 'failure'
deployment-id: ${{ steps.vrt-all-flags.outputs.deployment_id }}
# deploy-vrt-all-flags:
# name: VRT (All flags enabled)
# if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
# needs: [vrt-reports, deploy-preview]
# permissions:
# deployments: write
# runs-on: ubuntu-latest
# steps:
# - uses: chrnorm/[email protected]
# name: Create GitHub deployment for vrt-all-flags
# id: vrt-all-flags
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment: vrt-all-flags-${{ github.event.number }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-all-flags'
# - name: Update vrt-all-flags deployment status (success)
# if: success()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-all-flags'
# state: 'success'
# deployment-id: ${{ steps.vrt-all-flags.outputs.deployment_id }}
# - name: Update vrt-all-flags deployment status (failure)
# if: failure()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# state: 'failure'
# deployment-id: ${{ steps.vrt-all-flags.outputs.deployment_id }}

deploy-aat-no-flag:
name: AAT (No flags enabled)
if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
needs: [aat-reports, deploy-preview]
permissions:
deployments: write
runs-on: ubuntu-latest
steps:
- uses: chrnorm/[email protected]
name: Create GitHub deployment for aat-no-flag
id: aat-no-flag
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: aat-no-flag-${{ github.event.number }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-no-flag'
- name: Update aat-no-flag deployment status (success)
if: success()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-no-flag'
state: 'success'
deployment-id: ${{ steps.aat-no-flag.outputs.deployment_id }}
- name: Update aat-no-flag deployment status (failure)
if: failure()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
state: 'failure'
deployment-id: ${{ steps.aat-no-flag.outputs.deployment_id }}
# deploy-aat-no-flag:
# name: AAT (No flags enabled)
# if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
# needs: [aat-reports, deploy-preview]
# permissions:
# deployments: write
# runs-on: ubuntu-latest
# steps:
# - uses: chrnorm/[email protected]
# name: Create GitHub deployment for aat-no-flag
# id: aat-no-flag
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment: aat-no-flag-${{ github.event.number }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-no-flag'
# - name: Update aat-no-flag deployment status (success)
# if: success()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-no-flag'
# state: 'success'
# deployment-id: ${{ steps.aat-no-flag.outputs.deployment_id }}
# - name: Update aat-no-flag deployment status (failure)
# if: failure()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# state: 'failure'
# deployment-id: ${{ steps.aat-no-flag.outputs.deployment_id }}

deploy-aat-all-flags:
name: AAT (All flags enabled)
if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
needs: [aat-reports, deploy-preview]
permissions:
deployments: write
runs-on: ubuntu-latest
steps:
- uses: chrnorm/[email protected]
name: Create GitHub deployment for aat-all-flags
id: aat-all-flags
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: aat-all-flags-${{ github.event.number }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-all-flags'
- name: Update aat-all-flags deployment status (success)
if: success()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-all-flags'
state: 'success'
deployment-id: ${{ steps.aat-all-flags.outputs.deployment_id }}
- name: Update aat-all-flags deployment status (failure)
if: failure()
uses: chrnorm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
state: 'failure'
deployment-id: ${{ steps.aat-all-flags.outputs.deployment_id }}
# deploy-aat-all-flags:
# name: AAT (All flags enabled)
# if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
# needs: [aat-reports, deploy-preview]
# permissions:
# deployments: write
# runs-on: ubuntu-latest
# steps:
# - uses: chrnorm/[email protected]
# name: Create GitHub deployment for aat-all-flags
# id: aat-all-flags
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment: aat-all-flags-${{ github.event.number }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-all-flags'
# - name: Update aat-all-flags deployment status (success)
# if: success()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-all-flags'
# state: 'success'
# deployment-id: ${{ steps.aat-all-flags.outputs.deployment_id }}
# - name: Update aat-all-flags deployment status (failure)
# if: failure()
# uses: chrnorm/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# state: 'failure'
# deployment-id: ${{ steps.aat-all-flags.outputs.deployment_id }}

0 comments on commit b454071

Please sign in to comment.