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:
|
with:
|
||||||
encodedString: "${{ secrets.MCCONFIG }}"
|
encodedString: "${{ secrets.MCCONFIG }}"
|
||||||
fileName: config.json
|
fileName: config.json
|
||||||
fileDir: $HOME/.mc
|
fileDir: ${{ env.GITHUB_WORKSPACE }}
|
||||||
|
|
||||||
- name: Extracting CRDs to yaml and converting to JSON schema
|
- name: Extracting CRDs to yaml and converting to JSON schema
|
||||||
env:
|
env:
|
||||||
|
@ -130,6 +130,9 @@ jobs:
|
||||||
rm -rf $TMP_CRD_DIR
|
rm -rf $TMP_CRD_DIR
|
||||||
|
|
||||||
- name: Deploy to Cloudflare R2
|
- name: Deploy to Cloudflare R2
|
||||||
shell: bash
|
env:
|
||||||
|
MC_CONFIG_DIR: "${{ steps.mcconfig.outputs.fileDir }}"
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
echo $GITHUB_WORKSPACE/crdSchemas/
|
||||||
mc cp --recursive $GITHUB_WORKSPACE/crdSchemas/ r2-ks/kubernetes-schema
|
mc cp --recursive $GITHUB_WORKSPACE/crdSchemas/ r2-ks/kubernetes-schema
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -16,3 +16,4 @@ kubeconfig*
|
||||||
omniconfig.yaml
|
omniconfig.yaml
|
||||||
config.xml
|
config.xml
|
||||||
.idea/
|
.idea/
|
||||||
|
*.secrets
|
||||||
|
|
Loading…
Reference in a new issue