Skip to content

Commit

Permalink
GitHub action tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
harryy94 committed Jan 28, 2025
1 parent c5d53f9 commit 42c149d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-env.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Deploy - Environment

on:
workflow_dispatch:

Expand All @@ -18,7 +20,7 @@ jobs:
- name: Lowercase the repo name and username
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}

- name: Build Back End API Docker Image
- name: Build Web Docker Image
run: |
docker build . -t ghcr.io/${{ env.REPO }}:${{ github.sha }} -f web/CareLeavers.Web/Dockerfile
Expand All @@ -28,7 +30,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Back End API Docker Image
- name: Push Web Docker Image
run: docker push ghcr.io/${{ env.REPO }}:${{ github.sha }}

terraform_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate - Run E2E Tests
name: Validate - Deployment

on:
workflow_dispatch:
Expand Down

0 comments on commit 42c149d

Please sign in to comment.