Skip to content

Commit 225daee

Browse files
committed
fix ci (docker build)
1 parent 8bb041a commit 225daee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/github-actions.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ jobs:
2020
DOCKER_IMAGE_PYTHON: hozanaci/openchurch-sync
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v4
24+
with:
25+
ref: feat/v2
26+
fetch-depth: 0
27+
- name: Debug branch info
28+
run: |
29+
echo "Current branch: $(git rev-parse --abbrev-ref HEAD)"
30+
echo "Git ref: ${{ github.ref }}"
2431
- name: Create version.json file
2532
run: |
2633
echo "{ \"version\": \"$(git rev-parse --short HEAD)\", \"build\": \"$(date)\", \"branch\": \"$(git rev-parse --abbrev-ref HEAD)\", \"tag\": \"$(git name-rev --tags --name-only $(git rev-parse HEAD))\" } " > public/version.json

0 commit comments

Comments
 (0)