Skip to content

Commit cf08b0e

Browse files
committed
ci: enable automatic deploy, fix build command
1 parent f19c35b commit cf08b0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy_docker.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Deploy Production (Docker)
22

33
on:
4-
# push:
5-
# branches:
6-
# - main
4+
push:
5+
branches:
6+
- main
77
workflow_dispatch:
88

99
jobs:
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Build and push Docker image
2525
run: |
26-
docker build -t ${{ vars.DOCKER_IMAGE }}
26+
docker build -t ${{ vars.DOCKER_IMAGE }} .
2727
docker push ${{ vars.DOCKER_IMAGE }}
2828
2929
- name: Trigger Portainer deployment

0 commit comments

Comments
 (0)