File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -22,32 +22,11 @@ permissions:
22
22
contents : read
23
23
24
24
jobs :
25
- checks :
26
- name : Checks and variables
27
- runs-on : ubuntu-24.04
28
- permissions :
29
- contents : read
30
- outputs :
31
- forked_workflow : ${{ steps.vars.outputs.forked_workflow }}
32
- steps :
33
- - name : Checkout Repository
34
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
35
-
36
- - name : Set Variables
37
- id : vars
38
- run : |
39
- echo "forked_workflow=${{ (github.event.pull_request && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name) || github.repository != 'nginxinc/kubernetes-ingress' }}" >> $GITHUB_OUTPUT
40
-
41
- - name : Output variables
42
- run : |
43
- echo forked_workflow: ${{ steps.vars.outputs.forked_workflow }}
44
-
45
25
call-docs-build-push :
46
26
uses : nginxinc/docs-actions/.github/workflows/docs-build-push.yml@d20def4d420028a71f99863011c6de7325c4013e # v1.0.4
47
27
permissions :
48
28
pull-requests : write # needed to write preview url comment to PR
49
29
contents : read
50
- needs : [checks]
51
30
with :
52
31
production_url_path : " /nginx-ingress-controller"
53
32
preview_url_path : " /previews/nginx-ingress-controller"
58
37
secrets :
59
38
AZURE_CREDENTIALS : ${{ secrets.AZURE_CREDENTIALS_DOCS }}
60
39
AZURE_KEY_VAULT : ${{ secrets.AZURE_KEY_VAULT_DOCS }}
61
- if : ${{ needs.checks.outputs.forked_workflow == 'false' }}
You can’t perform that action at this time.
0 commit comments