Last active
November 13, 2018 15:53
-
-
Save manekinekko/abbf8c7444f46c623371165661bd6ac5 to your computer and use it in GitHub Desktop.
Google Cloud Build config file for xlayers.app (create Github comment)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
# Previous steps here... | |
# Send the preview domain to the issue thread on GitHub | |
- name: 'google/cloud-sdk:alpine' | |
id: 'Push the Preview Link to GitHub' | |
entrypoint: "/bin/bash" | |
args: ['./scripts/github-create-comment.bash'] | |
secretEnv: ['GITHUB_ACCESS_TOKEN'] | |
env: | |
- 'PREVIEW_BUILD_URL=https://xlayers-$SHORT_SHA.angular.run' | |
- 'COMMIT_SHA=$COMMIT_SHA' | |
secrets: | |
- kmsKeyName: projects/cross-xlayers/locations/global/keyRings/GITHUB_ACCESS_TOKEN/cryptoKeys/GITHUB_ACCESS_TOKEN | |
secretEnv: | |
GITHUB_ACCESS_TOKEN: CiQ***********E0ERPWC8ZmeC*****hzcLQofsCCU1Mb9LMDKS8SUQCXwYbhw8R19NiubGBr6xNfWuSh*********ICIJc2/y0bMKTtlLhk5FptsBNeEW6pbpv0itfQMw**********8VWzBUmrSPz76N5****qsJxQ== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment