Skip to content

Commit

Permalink
fix ci (docker build)
Browse files Browse the repository at this point in the history
  • Loading branch information
bailletced committed Dec 17, 2024
1 parent 8bb041a commit 225daee
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ jobs:
DOCKER_IMAGE_PYTHON: hozanaci/openchurch-sync
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4
with:
ref: feat/v2
fetch-depth: 0
- name: Debug branch info
run: |
echo "Current branch: $(git rev-parse --abbrev-ref HEAD)"
echo "Git ref: ${{ github.ref }}"
- name: Create version.json file
run: |
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
Expand Down

0 comments on commit 225daee

Please sign in to comment.