Run one-off scripts - no exit code

Hi, I’m trying to setup cron jobs using GitHub actions. following your documentation the only method to invoke one shot job is using ssh console which seems not to return exit code of the invoked script.

I have my workflow like this and I need some jobs to not be executed if earlier jobs failed. ideas are welcome on how to get there.


name: Run on Fly
on: [push]
    name: Run script
    runs-on: ubuntu-latest
      - uses: actions/checkout@v2
      - uses: superfly/flyctl-actions/setup-flyctl@master
      - run: "flyctl ssh console --command 'sh ./'"
          FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

This is fixed now, once you re-deploy your app or create a new app.