RAS-739 Add modal to base template #572
This file contains 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
name: comment | |
on: | |
issue_comment: | |
types: [created] | |
env: | |
SERVICE: frontstage | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
if: contains(github.event.comment.body, '/deploy') | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Authenticate with Google Cloud | |
id: auth | |
uses: google-github-actions/auth@v0 | |
with: | |
credentials_json: ${{ secrets.GCR_KEY }} | |
- name: Setup Google Cloud SDK | |
uses: google-github-actions/setup-gcloud@v0 | |
with: | |
project_id: ${{ secrets.GOOGLE_PROJECT_ID }} | |
- uses: onsdigital/ras-rm-spinnaker-action@main | |
with: | |
comment-body: ${{ github.event.comment.body }} | |
gcp-project: ${{ secrets.GOOGLE_PROJECT_ID }} | |
bot-token: ${{ secrets.BOT_TOKEN }} | |
spinnaker-topic: ${{ secrets.SPINNAKER_TOPIC }} | |
artifact-bucket: ${{ secrets.ARTIFACT_BUCKET }} | |
helm-chart: ${{ env.SERVICE }}/${{ env.SERVICE }}-latest.tgz |