diff path
All checks were successful
K8S json Schemas --> Cloudflare R2 / Schemas (push) Successful in 1m16s
All checks were successful
K8S json Schemas --> Cloudflare R2 / Schemas (push) Successful in 1m16s
This commit is contained in:
parent
95cfc672e2
commit
cee1285f3d
2 changed files with 6 additions and 2 deletions
|
@ -53,7 +53,7 @@ jobs:
|
|||
with:
|
||||
encodedString: "${{ secrets.MCCONFIG }}"
|
||||
fileName: config.json
|
||||
fileDir: $HOME/.mc
|
||||
fileDir: ${{ env.GITHUB_WORKSPACE }}
|
||||
|
||||
- name: Extracting CRDs to yaml and converting to JSON schema
|
||||
env:
|
||||
|
@ -130,6 +130,9 @@ jobs:
|
|||
rm -rf $TMP_CRD_DIR
|
||||
|
||||
- name: Deploy to Cloudflare R2
|
||||
env:
|
||||
MC_CONFIG_DIR: "${{ steps.mcconfig.outputs.fileDir }}"
|
||||
shell: bash
|
||||
run: |
|
||||
echo $GITHUB_WORKSPACE/crdSchemas/
|
||||
mc cp --recursive $GITHUB_WORKSPACE/crdSchemas/ r2-ks/kubernetes-schema
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -16,3 +16,4 @@ kubeconfig*
|
|||
omniconfig.yaml
|
||||
config.xml
|
||||
.idea/
|
||||
*.secrets
|
||||
|
|
Loading…
Reference in a new issue