Skip to content

Commit 05c4d3e

Browse files
Update docker username
1 parent 345a172 commit 05c4d3e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
name: Deploy
2-
on:
2+
on:
33
push
44

55
jobs:
66
my-job:
77
runs-on: ubuntu-latest
88
env:
9-
# REPLACE THIS
10-
DOCKERHUB_USERNAME: corndeldevopscourse
11-
# SET THESE IN GITHUB
12-
DOCKERHUB_TOKEN: '${{ secrets.DOCKERHUB_TOKEN }}'
13-
AZURE_WEBHOOK: '${{ secrets.AZURE_WEBHOOK }}'
9+
# REPLACE THIS
10+
DOCKERHUB_USERNAME: aleyipsoftwire
11+
# SET THESE IN GITHUB
12+
DOCKERHUB_TOKEN: '${{ secrets.DOCKERHUB_TOKEN }}'
13+
AZURE_WEBHOOK: '${{ secrets.AZURE_WEBHOOK }}'
1414
# DECIDE WHETHER YOU WANT A BRANCH CHECK - if so remove the other "if"
1515
# if: github.ref == 'refs/heads/master'
1616
if: github.repository != 'corndeladmin/DevOps-Course-Workshop-Module-13-Learners'
1717
steps:
18-
- name: test
19-
run: echo ${{ github.repository }}
2018
- name: Checkout repo
2119
uses: actions/checkout@v3
2220
- name: Build image
@@ -26,4 +24,4 @@ jobs:
2624
- name: Push image
2725
run: docker push ${DOCKERHUB_USERNAME}/m13-order-processing-app
2826
- name: Trigger deployment
29-
run: curl --fail-with-body -X POST "$AZURE_WEBHOOK"
27+
run: curl --fail-with-body -X POST "$AZURE_WEBHOOK"

0 commit comments

Comments
 (0)