File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 3636 shell : bash
3737 run : helm repo index build --url https://launchdarkly.github.io/ld-relay-helm --merge helm-repo/index.yaml
3838
39- - name : Move files into publishable directory
39+ - name : Update GH-pages with new artifacts and updated index.yaml
4040 shell : bash
4141 run : mv build/${{ steps.version.outputs.ARTIFACT }} build/index.yaml helm-repo
42+
43+ - name : Move files into publishable directory
44+ shell : bash
4245 run : mv helm-repo/*tgz build/
4346
4447 - name : Publish to GitHub pages
Original file line number Diff line number Diff line change 66 description : " Is this a dry run? If so no package will be published."
77 type : boolean
88 required : true
9+ skip_gh_pages :
10+ description : " Skip publishing to GitHub Pages"
11+ type : boolean
12+ required : false
13+ default : false
14+ skip_ghcr :
15+ description : " Skip publishing to GitHub Container Registry (GHCR)"
16+ type : boolean
17+ required : false
18+ default : false
919
1020jobs :
1121 build-publish :
@@ -24,11 +34,13 @@ jobs:
2434 uses : ./.github/actions/ci
2535
2636 - uses : ./.github/actions/publish-gh-pages
37+ if : ${{ !inputs.skip_gh_pages }}
2738 with :
2839 dry_run : ${{ inputs.dry_run }}
2940 token : ${{ secrets.GITHUB_TOKEN }}
3041
3142 - uses : ./.github/actions/publish-ghcr
43+ if : ${{ !inputs.skip_ghcr }}
3244 with :
3345 dry_run : ${{ inputs.dry_run }}
3446 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments