Files
quoter/.gitea/workflows/deploy.yml
Untone 5329752735
Some checks failed
Deploy / deploy (push) Has been skipped
CI / lint (push) Successful in 6m37s
CI / test (push) Failing after 13m16s
ci-refresh
2025-09-02 09:13:08 +03:00

31 lines
744 B
YAML

name: Deploy
on:
push:
branches: [ main ]
workflow_run:
workflows: ["CI"]
types:
- completed
env:
CARGO_TERM_COLOR: always
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Deploy to Dokku
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://dokku@staging.discours.io:22/quoter'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deployment status
run: |
echo "✅ Deployed to staging.discours.io/quoter"
echo "📦 Commit: ${{ github.sha }}"
echo "🌿 Branch: ${{ github.ref_name }}"