Skip to content

Github pages action: fatal: not in a git directory #1083

Closed
@felixperezc

Description

@felixperezc

Describe the bug

Github page action: Doesn't work..

Reproduction Steps

Logs

Run JamesIves/github-pages-deploy-action@4.2.0
/usr/bin/docker exec xxxx sh -c "cat /etc/*release | grep ^ID"

GitHub Pages Deploy Action 🚀

💖 Support: https://github.com/sponsors/JamesIves
📣 Maintained by James Ives: https://jamesiv.es/

🚀 Getting Started Guide: https://github.com/JamesIves/github-pages-deploy-action
❓ Discussions / Q&A: https://github.com/JamesIves/github-pages-deploy-action/discussions
🔧 Report a Bug: https://github.com/JamesIves/github-pages-deploy-action/issues

Checking configuration and starting deployment… 🚦
The operating system you're using is not supported and results may be varied. Please refer to the documentation for more details. ❗
Deploying using Deploy Token… 🔑
Configuring git…
/usr/bin/git config user.name xxx
fatal: not in a git directory
Error: There was an error initializing the repository: The process '/usr/bin/git' failed with exit code 1[28] ❌
Deployment failed! ❌

Workflow

  • name: Deploy to Github Pages
    uses: JamesIves/github-pages-deploy-action@4.2.0
    with:
    branch: gh-pages
    folder: build/docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐝This issue describes a bug.help wanted ❕Extra attention is neededpriority ‼️This issue/PR is urgent.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions