This commit is contained in:
parent
6091a74e38
commit
2e473936f7
@ -123,7 +123,7 @@ jobs:
|
||||
needs: [build]
|
||||
# Chỉ chạy khi push vào nhánh master (không chạy cho PR)
|
||||
# Kiểm tra lại biến context của Gitea Actions, có thể là 'gitea.ref_name' hoặc 'github.ref_name'
|
||||
if: github.ref_name == 'master' || gitea.ref_name == 'master'
|
||||
if: gitea.ref_type == 'tag'
|
||||
steps:
|
||||
- name: Checkout code # Cần checkout để lấy Dockerfile.prod
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user