chore(deps): update github-actions - autoclosed #36
Workflow file for this run
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: Deploybot | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- deploybot/** | |
- .github/workflows/deploybot.yaml | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
environment: e2e | |
steps: | |
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 | |
with: | |
node-version-file: package.json | |
cache: yarn | |
- run: | | |
yarn install --frozen-lockfile | |
yarn workspace deploybot all | |
- name: The job has started | |
uses: ./deploybot | |
with: | |
status: started | |
token: ${{ secrets.SLACK_OAUTH_TOKEN }} | |
channel: ${{ secrets.SLACK_CHANNEL }} | |
- name: Generate image tags | |
id: tags | |
uses: ./docker-image-tag | |
with: | |
env: dev | |
suffix_type: auto | |
- name: The job has succeeded | |
uses: ./deploybot | |
with: | |
status: success | |
token: ${{ secrets.SLACK_OAUTH_TOKEN }} | |
channel: ${{ secrets.SLACK_CHANNEL }} | |
custom_fields: | | |
- title: ECR Repository | |
value: "```dummy```" | |
- title: Image Tags | |
value: "```${{ steps.tags.outputs.image_tag }}\n${{ steps.tags.outputs.latest_tag }}```" | |
- name: The job has failed | |
uses: ./deploybot | |
with: | |
status: failure | |
token: ${{ secrets.SLACK_OAUTH_TOKEN }} | |
channel: ${{ secrets.SLACK_CHANNEL }} | |
custom_fields: | | |
- title: ECR Repository | |
value: "```dummy```" | |
- title: Image Tags | |
value: "```${{ steps.tags.outputs.image_tag }}\n${{ steps.tags.outputs.latest_tag }}```" | |
- name: The job has been cancelled | |
uses: ./deploybot | |
with: | |
status: cancelled | |
token: ${{ secrets.SLACK_OAUTH_TOKEN }} | |
channel: ${{ secrets.SLACK_CHANNEL }} |