tinacms / tinasaurus

https://tinasaurus.vercel.app
169 stars 69 forks source link

Cannot open /admin page #2

Closed BattleOfPlassey closed 1 year ago

BattleOfPlassey commented 1 year ago

I integrated the code on the repository in my existing docusaurus project.

Though i can build locally and serve and i get /admin page but when i go on to deploy on gh-page it does not work and shows 404 page. Help please.

BattleOfPlassey commented 1 year ago

I fixed it by removing gitignore file from the build folder in gh-action yml file as rightly mentioned in the docs

      - name: Install dependencies
        run: yarn install 
      - name: Build website
        run: yarn build
      - name: Remove gitignore file
        run: rm ./build/admin/.gitignore