Skip to content

Merge pull request #97 from dwyl/dependabot/hex/telemetry_metrics-1.0.0 #57

Merge pull request #97 from dwyl/dependabot/hex/telemetry_metrics-1.0.0

Merge pull request #97 from dwyl/dependabot/hex/telemetry_metrics-1.0.0 #57

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
# Continuous Deployment to Fly.io
# https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
deploy:

Check failure on line 11 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
name: Deploy app
runs-on: ubuntu-latest
needs: [build]
# https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions
if: github.ref == 'refs/heads/main'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions@1.1
with:
args: "deploy"