Skip to content

Commit d8a30d2

Browse files
feat: v2 workflows
1 parent 4bc53f1 commit d8a30d2

5 files changed

Lines changed: 11 additions & 18 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
name: Build Auto-Generated Files
33
on:
4-
pull_request:
54
workflow_dispatch:
65

76
jobs:
87
build-contributors:
98
name: Build Auto-Generated Files
109
if: github.repository != 'AdobeDocs/dev-docs-template'
11-
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-auto-generated-files.yml@main
10+
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-auto-generated-files-v2.yml@main
1211
secrets: inherit
1312

.github/workflows/deploy-private-v2.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,9 @@ on:
2626
jobs:
2727
deployment:
2828
name: Deployment
29-
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
30-
secrets:
31-
AIO_AZURE_DEV_PRIVATE_CONNECTION_STRING: ${{ secrets.AIO_AZURE_DEV_PRIVATE_CONNECTION_STRING }}
32-
AIO_AZURE_PROD_PRIVATE_CONNECTION_STRING: ${{ secrets.AIO_AZURE_PROD_PRIVATE_CONNECTION_STRING }}
33-
AIO_FASTLY_TOKEN: ${{ secrets.AIO_FASTLY_TOKEN }}
34-
AIO_FASTLY_PROD_URL: ${{ secrets.AIO_FASTLY_PROD_URL }}
35-
AIO_FASTLY_DEV_URL: ${{ secrets.AIO_FASTLY_DEV_URL }}
29+
if: github.actor != 'adp-devsite-app[bot]'
30+
uses: AdobeDocsPrivate/adp-devsite-workflow-private/.github/workflows/deploy-v2.yml@main
31+
secrets: inherit
3632
with:
3733
env: ${{ inputs.env || 'prod' }}
3834
baseSha: ${{ inputs.baseSha || '' }}

.github/workflows/deploy-v2.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ on:
2626
jobs:
2727
deployment:
2828
name: Deployment
29-
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
29+
if: github.actor != 'adp-devsite-app[bot]'
30+
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy-v2.yml@main
31+
secrets: inherit
3032
with:
3133
env: ${{ inputs.env || 'prod' }}
3234
baseSha: ${{ inputs.baseSha || '' }}

.github/workflows/stage-private-v2.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ on:
1515
jobs:
1616
deployment:
1717
name: Deployment
18-
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
19-
secrets:
20-
AIO_AZURE_DEV_PRIVATE_CONNECTION_STRING: ${{ secrets.AIO_AZURE_DEV_PRIVATE_CONNECTION_STRING }}
21-
AIO_AZURE_PROD_PRIVATE_CONNECTION_STRING: ${{ secrets.AIO_AZURE_PROD_PRIVATE_CONNECTION_STRING }}
22-
AIO_FASTLY_TOKEN: ${{ secrets.AIO_FASTLY_TOKEN }}
23-
AIO_FASTLY_PROD_URL: ${{ secrets.AIO_FASTLY_PROD_URL }}
24-
AIO_FASTLY_DEV_URL: ${{ secrets.AIO_FASTLY_DEV_URL }}
18+
uses: AdobeDocsPrivate/adp-devsite-workflow-private/.github/workflows/deploy-v2.yml@main
19+
secrets: inherit
2520
with:
2621
env: stage
2722
baseSha: ${{ inputs.baseSha }}

.github/workflows/stage-v2.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
jobs:
1616
deployment:
1717
name: Deployment
18-
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
18+
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/deploy-v2.yml@main
19+
secrets: inherit
1920
with:
2021
env: stage
2122
baseSha: ${{ inputs.baseSha }}

0 commit comments

Comments
 (0)