diff --git a/.gitea/workflows/workflow.yaml b/.gitea/workflows/workflow.yaml index 4ed567b..577ee6a 100644 --- a/.gitea/workflows/workflow.yaml +++ b/.gitea/workflows/workflow.yaml @@ -93,7 +93,7 @@ jobs: target: "${{ needs.prepare_deployment_vars.outputs.deploy_path }}" - name: Sync file via scp (staging) - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' uses: appleboy/scp-action@master with: host: ${{ env.SSH_HOST }} @@ -132,8 +132,8 @@ jobs: name: Run docker-compose remotely (Staging) runs-on: ubuntu-latest needs: [sync_repo_files, prepare_deployment_vars] - # if: | - # (github.ref == 'refs/heads/main') + if: | + (github.ref == 'refs/heads/main') steps: - name: Setup SSH uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1