File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,14 +30,16 @@ jobs:
3030 node getPreferred ./aws-sdk-js/apis
3131 node aws2openapi ./aws-sdk-js/apis ./openapi-directory/APIs/amazonaws.com -y
3232 - name : 🚀 Deploy
33+ id : deploy
3334 run : |
3435 cd openapi-directory/APIs
3536 git config user.name "Mike Ralphson"
3637 git config user.email "MikeRalphson@users.noreply.github.com"
3738 git add amazonaws.com
38- git diff-index --quiet HEAD || git commit -am "Update AWS APIs to $SDKTAG"
39+ git diff-index --quiet HEAD || git commit -am "Update AWS APIs to $SDKTAG" && echo "::set-output name=ok::1"
3940 git push https://${{ secrets.GH_PAT }}@github.com/apis-guru/openapi-directory.git
4041 - name : Trigger oad CI
42+ if : ${{ steps.deploy.outputs.ok == '1' }}
4143 uses : peter-evans/repository-dispatch@v1
4244 with :
4345 token : ${{ secrets.GH_PAT }}
You can’t perform that action at this time.
0 commit comments