jefftriplett/python-actions-alpha-archived

Docker run failed with exit code 2

Opened this issue · 2 comments

I am very new to github actions and tried it out for the first time today. When I tried to use python-actions, I see this failure:

https://github.com/shireenrao/abc/commit/3bd0c8896d680a4fcfca4b20cc7461cc489f89ee/checks?check_suite_id=250305286#step:4:3

Here is my main.yml

name: CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v1
    - uses: jefftriplett/python-actions@master
    - name: Install dependencies
      run: pip install --upgrade pip && pip install -r requirements.txt
    - name: Deploy
      run: ./deploy-to-gh-pages.sh
      env: 
        ACCESS_TOKEN: ${{ secrets.ACCESS_KEY }}

Would you have any thoughts on why this failed?

It might be that bash is unavailable.

Have you tried removing #!/bin/bash from the top of deploy-to-gh-pages.sh?

@flyrev - from what I can tell, the Deploy step hasn't executed yet. It is failing on using python-actions.

This is just a guess, could me using yaml instead of hcl have anything to do with it?