Template repository for generating a flipbook from a PDF file with flip-forge and deploying it to GitHub pages.
- Click on "Use this template" in the top right to generate a new repo for your flipbook
- After the new repo is created, go to Settings -> Pages
- Change the "Source" option from "Build from branch" to "GitHub Actions"
- Upload your PDF to the repository, optionally removing/replacing the existing "book.pdf" one.
- Edit .github/workflows/deploy.yml file and change
the following options as needed. Make sure that at least the "file" is set to the
correct PDF file name:
with: file: "book.pdf" title: "Book title" backgroundColor: "#000000" toolbarColor: "#ffffff" description: "Book description"
- Go to the "actions" tab and wait until the deployment action completes.
- Visit the generate GitHub page and in order to see your new flipbook. The link should look something like https://USERNAME.github.io/REPOSITORY/