Skip to content

Release (#488)

Release (#488) #7

name: Deploy-api-prod-native
on:
push:
branches: [ main ]
jobs:
deploy:
uses: ./.github/workflows/_deploy-native.yml
with:
ecr_repository: snutt-prod/snutt-timetable
dockerfile: api/Dockerfile-native
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
notify:
needs: deploy
runs-on: ubuntu-latest
steps:
- name: Slack Notify
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: team-snutt-deploy
SLACK_TITLE: NEW RELEASE
SLACK_USERNAME: snutt-timetable
SLACK_ICON: https://user-images.githubusercontent.com/35535636/103177470-2237cb00-48be-11eb-9211-3ffa567c8ac3.png
SLACK_MESSAGE: Check <https://argocd.wafflestudio.com|Argo CD> for updated environment