Skip to content

Commit

Permalink
💚 Fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
LNA-DEV committed Oct 22, 2023
1 parent 4f75a20 commit b08e31e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/HugoBuildAndDeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build the Docker image
run: docker build . --file ./${{ env.NAME }}/Dockerfile --tag lnadev/${{ env.CONTAINER-NAME }}:${{ github.run_number }}
run: docker build . --file ./${{ env.NAME }}/deployment/Dockerfile --tag lnadev/${{ env.CONTAINER-NAME }}:${{ github.run_number }}

- name: Push the image to dockerhub
run: docker push lnadev/${{ env.CONTAINER-NAME }}:${{ github.run_number }}
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build the Docker image
run: docker build . --file ./${{ env.NAME }}/Dockerfile --tag lnadev/${{ env.CONTAINER-NAME }}:latest
run: docker build . --file ./${{ env.NAME }}/deployment/Dockerfile --tag lnadev/${{ env.CONTAINER-NAME }}:latest

- name: Push the image to dockerhub
run: docker push lnadev/${{ env.CONTAINER-NAME }}:latest
Expand Down Expand Up @@ -105,4 +105,4 @@ jobs:
regex: false

# Deploy Kubernetes YAML
- run: kubectl apply -f ./Kubernetes/Fachinformatiker-Prüfungsvorbereitung.yaml --kubeconfig ${{ steps.write_file.outputs.filePath }}
- run: kubectl apply -f ./deployment/Fachinformatiker-Prüfungsvorbereitung.yaml --kubeconfig ${{ steps.write_file.outputs.filePath }}

0 comments on commit b08e31e

Please sign in to comment.