Update .gitea/workflows/z-docs.yml
Some checks failed
Check Latest Release / deploy (push) Has been cancelled
Deploy from Main / deploy (push) Failing after 1m21s

This commit is contained in:
zramsay 2025-11-28 20:52:23 +00:00
parent 2ffa39fd57
commit a485e46502

View File

@ -31,12 +31,12 @@ jobs:
with:
node-version: 18
- name: Deploy from main branch
- name: Deploy from docs-mvp branch
run: |
# Get latest commit from main branch
commit_info=$(curl -s https://git.vdb.to/api/v1/repos/${{ env.TARGET_REPO }}/commits/docs-mvp)
commit_hash=$(echo $commit_info | jq -r .sha)
commit_date=$(echo $commit_info | jq -r .commit.committer.date)
# Get latest commit from docs-mvp branch
commit_info=$(curl -s https://git.vdb.to/api/v1/repos/${{ env.TARGET_REPO }}/branches/docs-mvp)
commit_hash=$(echo $commit_info | jq -r .commit.id)
commit_date=$(echo $commit_info | jq -r .commit.timestamp)
echo "Latest commit: $commit_hash"
echo "Committed at: $commit_date"
@ -49,4 +49,4 @@ jobs:
npm install -g @cerc-io/laconic-registry-cli
# Run deployment
./deploy-gitea.sh ${{ env.TARGET_REPO }} docs-mvp
./deploy-gitea.sh ${{ env.TARGET_REPO }} docs-mvp