Skip to content

Commit

Permalink
backend CD and Slack test
Browse files Browse the repository at this point in the history
  • Loading branch information
CarolinaOliiveira committed Jan 19, 2024
1 parent cc000c1 commit 9a34c42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/backend-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: echo "BUILD_NUMBER=$(date '+%d.%m.%Y.%H.%M.%S')" >> $GITHUB_OUTPUT
- name: Send Slack Message
run: >
curl && curl -X POST -H 'Content-type: application/json'
curl -X POST -H 'Content-type: application/json'
--data '
{"text":" :maven: Building with maven"}
'
Expand All @@ -58,7 +58,7 @@ jobs:
run: mvn -ntp -B verify -D docker.image.tag=${{steps.build-number.outputs.BUILD_NUMBER}} jib:build
- name: Send Slack Message
run: >
curl && curl -X POST -H 'Content-type: application/json'
curl -X POST -H 'Content-type: application/json'
--data '
{"text":":docker: Image tag: ${{steps.build-number.outputs.BUILD_NUMBER}} pushed to docker hub"}
'
Expand All @@ -72,7 +72,7 @@ jobs:
cat Dockerrun.aws.json
- name: Send Slack Message
run: >
curl && curl -X POST -H 'Content-type: application/json'
curl -X POST -H 'Content-type: application/json'
--data '
{"text":":aws: Starting deployment to EBS"}
'
Expand All @@ -90,7 +90,7 @@ jobs:
deployment_package: backend/Dockerrun.aws.json
- name: Send Slack Message
run: >
curl && curl -X POST -H 'Content-type: application/json'
curl -X POST -H 'Content-type: application/json'
--data '
{"text":":githubloading: Commiting to repo"}
'
Expand All @@ -104,7 +104,7 @@ jobs:
git push
- name: Send Slack Message
run: >
curl && curl -X POST -H 'Content-type: application/json'
curl -X POST -H 'Content-type: application/json'
--data '
{"text":":party_blob Deployment and commit complete"}
'
Expand Down

0 comments on commit 9a34c42

Please sign in to comment.