File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,13 @@ jobs:
2020 ref : ${{ github.event.release.tag_name }}
2121
2222 - name : Build catalog
23- uses : ibm-garage-cloud /action-module-catalog @v1
23+ uses : cloud-native-toolkit /action-module-metadata-create @v1
2424 with :
2525 tagName : ${{ github.event.release.tag_name }}
2626 distDir : ${{ env.DIST_DIR }}
2727 publishBranch : ${{ env.PUBLISH_BRANCH }}
28+ strict : false
29+ validate : true
2830
2931 - name : Deploy
3032 uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 4949 TF_VAR_ibmcloud_api_key : ${{ secrets.IBMCLOUD_API_KEY }}
5050 IBMCLOUD_API_KEY : ${{ secrets.IBMCLOUD_API_KEY }}
5151
52+ verifyMetadata :
53+ runs-on : ubuntu-latest
54+
55+ env :
56+ DIST_DIR : ./dist
57+ PUBLISH_BRANCH : gh-pages
58+
59+ steps :
60+ - name : Checkout
61+ uses : actions/checkout@v2
62+
63+ - uses : cloud-native-toolkit/action-module-metadata-create@v1
64+ with :
65+ strict : true
66+ validate : true
67+
5268 release :
53- # if: ${{ github.event_name == 'push' }}
54- needs : verify
69+ needs : [verify, verifyMetadata]
5570 runs-on : ubuntu-latest
5671 if : ${{ github.event_name == 'push' }}
5772
Original file line number Diff line number Diff line change 11name : ibm-vpc
22type : terraform
33description : Provisions the IBM Cloud VPC instance with network acls
4+ interfaces :
5+ - github.com/cloud-native-toolkit/automation-modules#ibm-vpc-resource
46tags :
57 - infrastructure
68 - networking
You can’t perform that action at this time.
0 commit comments