mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 10:28:04 +03:00
fix: deploy to ceres, as the server is no longer just the tachi server (#1679)
This commit is contained in:
@@ -102,7 +102,7 @@ jobs:
|
||||
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-github-bot
|
||||
|
||||
dispatch-deploy:
|
||||
# See server.yml for rationale — deploy logs live in the private tachi-deploy repo.
|
||||
# See server.yml for rationale — deploy logs live in the private server-ceres repo.
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test, docker-push]
|
||||
if: ${{ github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}
|
||||
@@ -113,10 +113,10 @@ jobs:
|
||||
SHA: ${{ github.sha }}
|
||||
IMAGE_TAG: ${{ needs.docker-push.outputs.image_tag }}
|
||||
run: |
|
||||
gh api repos/zkldi/tachi-deploy/dispatches \
|
||||
gh api repos/zkldi/server-ceres/dispatches \
|
||||
-f event_type=deploy \
|
||||
-F "client_payload[app]=ghbot" \
|
||||
-F "client_payload[dest]=-" \
|
||||
-F "client_payload[sha]=${SHA}" \
|
||||
-F "client_payload[image_tag]=${IMAGE_TAG}"
|
||||
echo "::notice::Dispatched ghbot ${IMAGE_TAG} (${SHA}) — logs: https://github.com/zkldi/tachi-deploy/actions/workflows/deploy.yml"
|
||||
echo "::notice::Dispatched ghbot ${IMAGE_TAG} (${SHA}) — logs: https://github.com/zkldi/server-ceres/actions/workflows/tachi-deploy.yml"
|
||||
|
||||
Reference in New Issue
Block a user