Only attempt production deploy on push event #27
deploy-site.yml
on: push
Build site
Deploy to Production
Deploy to Staging
Annotations
1 error
Invalid workflow file:
.github/workflows/deploy-site.yml#L38
The workflow is not valid. .github/workflows/deploy-site.yml (Line: 38, Col: 9): Unexpected symbol: '"push"'. Located at position 57 within expression: github.ref == 'refs/heads/main' && github.event_name == "push"
|