Skip to content

Commit

Permalink
Merge pull request #35 from J-Hoplin/dev
Browse files Browse the repository at this point in the history
Chore: Add pre-test action to production
  • Loading branch information
J-Hoplin authored Jan 27, 2024
2 parents 51a255d + 58a63f2 commit 27f7598
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pre-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
branches:
- dev
- production
run-name: Unit/E2E test of ${{ github.ref_name }} by ${{ github.actor }}
jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/production-dockerize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- id: build-n-push
name: Build and Push
uses: docker/build-push-action@v5
continue-on-error: true
with:
context: .
push: true
Expand All @@ -44,7 +45,7 @@ jobs:
uses: rjstone/discord-webhook-notify@v1
with:
severity: info
details: 'Docker Deploy Success (linux/amd64, linux/arm64)'
details: 'Docker Deploy Success - Architecture: linux/amd64, linux/arm64'
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
- name: 'Discord Alert - Fail'
if: steps.build-n-push.outcome != 'success'
Expand Down

0 comments on commit 27f7598

Please sign in to comment.