34bca145e4
Deploy / deploy (push) Failing after 9m27s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FbMbJPadPzVwvt9rU9GBNo
22 lines
591 B
YAML
22 lines
591 B
YAML
name: Deploy
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ces-control
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
git init .
|
|
git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git"
|
|
git -c http.extraHeader="Authorization: token ${{ github.token }}" fetch --depth 1 origin "$GITHUB_SHA"
|
|
git checkout --detach FETCH_HEAD
|
|
- name: Deploy (systemd service, permanent)
|
|
env:
|
|
APP_PORT: ${{ vars.APP_PORT }}
|
|
run: sh scripts/deploy.sh "$GITHUB_SHA"
|