Skip to content
Discussion options

You must be logged in to vote

I fixed the issue when i add this codes to my ci.yaml file

- name: Deploy docs to gh-pages branch
   uses: peaceiris/actions-gh-pages@v3
   with:
     github_token: ${{ secrets.GITHUB_TOKEN }}
     publish_dir: ./site

Finally, I couldn't do the routing process in the project.
What i want to do is when i open the https://berkantsahn.github.io/mkdocs-test link i want to I want to redirect the user to https://berkantsahn.github.io/mkdocs-test/tr/

I tried to add my yaml file this codes but i didn't work.

- name: Copy redirect index page
   run: sudo cp /index.html /site

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by berkantsahn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant