Skip to content

Commit

Permalink
feat(ci/cd): add web server build step
Browse files Browse the repository at this point in the history
  • Loading branch information
Khenziii committed May 26, 2024
1 parent 182ad63 commit f810109
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,19 @@ jobs:
username: khenzii
password: ${{ secrets.DOCKER_PAT }}

- name: Docker Build & Push
- name: [Default] Docker Build & Push
uses: docker/build-push-action@v5
with:
push: true
tags: khenzii/croissantdealer:latest

- name: [Web Server] Docker Build & Push
uses: docker/build-push-action@v5
with:
push: true
tags: khenzii/croissantdealer:web-server-latest
build-args: WEB_SERVER=true

- name: Trigger Deployment Webhook
run: |
curl -X POST -d {} "${{ secrets.DEPLOY_WEBHOOK_URL }}" -H "Content-Type: application/json"
Expand Down

0 comments on commit f810109

Please sign in to comment.