ci-refresh
This commit is contained in:
@@ -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 }}"
|
||||
Reference in New Issue
Block a user