kiliman / tailwindui-crawler

tailwindui-crawler downloads the component HTML files locally
MIT License
765 stars 97 forks source link

Github Action not working #53

Closed James4645 closed 3 years ago

James4645 commented 3 years ago

The Github action to crawl and add it to a private repo isn't working. I copied the yml file exactly. I set the secrets for TAILWINDUI_EMAIL and TAILWINDUI_PASSWORD. Two days in a row now the actions tab showed it ran for about 40s but nothing was added to the repo.

This is what I put in my .env

LANGUAGES=html,react,vue,alpine BUILDINDEX=1

pngg commented 3 years ago

@James4645 If you're creating a new repository or have updated your default branch from master, you will have to specify with branch and current_branch.

   # ...
         - name: Run crawler
           uses: gregbrimble/tailwindui-crawler-action@v1.1.0
           with:
             email: ${{ secrets.TAILWINDUI_EMAIL }}
             password: ${{ secrets.TAILWINDUI_PASSWORD }}
   +         branch: main
   +         current_branch: main
James4645 commented 3 years ago

@pngg No, it uses the 'master' branch.

And before someone else asks, I am certain the email and password secrets are correct. I copied them in directly from my password manager, and it works when logging in manually using it's autofill.

kiliman commented 3 years ago

@James4645 what does the action log say? The crawler is very chatty. So hopefully that will pinpoint where the issue is.

Also have you tried running it locally?

kiliman commented 3 years ago

Cleaning up issues.

If you are still having problems with the GitHub Action, please reopen.