ci-refresh
Some checks failed
Deploy / deploy (push) Has been skipped
CI / lint (push) Successful in 6m37s
CI / test (push) Failing after 13m16s

This commit is contained in:
2025-09-02 09:13:08 +03:00
parent b1270c5cb6
commit 5329752735
3 changed files with 25 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
if: github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
@@ -22,4 +22,10 @@ jobs:
uses: dokku/github-action@master
with:
git_remote_url: 'ssh://dokku@staging.discours.io:22/quoter'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
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 }}"