Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action.sh: line 53: mkdocs: command not found #93

Open
Hkr32 opened this issue Apr 4, 2021 · 2 comments
Open

action.sh: line 53: mkdocs: command not found #93

Hkr32 opened this issue Apr 4, 2021 · 2 comments

Comments

@Hkr32
Copy link

Hkr32 commented Apr 4, 2021

Tell me, what am I doing wrong?
If you leave @master, then everything is collected, but the styles are curves

https://github.com/xenforo-ru/docs/runs/2265970611?check_suite_focus=true

if i use @master, there is no error
https://github.com/xenforo-ru/docs/runs/2265877817?check_suite_focus=true

@ghost
Copy link

ghost commented Apr 5, 2021

@Hkr32 the nomaterial branch does not contain mkdocs, please add a requirements.txt file with the following content:

mkdocs

This is already reported here, we didn't have time to fix it yet: #80

@zhuchcn
Copy link

zhuchcn commented Aug 4, 2021

Just in case you really don't want to add a requirement.txt to your repo like me, you can add a step in your workflow yaml before calling mhausenblas/mkdocs-deploy-gh-pages@nomaterial

steps:
  - name: Checkout main
    uses: actions/checkout@v2
  
  - name: install mkdocs
    run: echo 'mkdocs' > requirements.txt

  - name: Deploy docs
    uses: mhausenblas/mkdocs-deploy-gh-pages@nomaterial
    env:
      GITHUB_TOKEN: ${{ secrets.DEPLOY }}
      CONFIG_FILE: mkdocs.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants