Comments (4)
You don't have to push the commit from mike deploy
immediately; you can do that later in a separate step. It'll still generate a local commit to your gh-pages
branch, but if you don't push the commit, then nothing should change with your hosted docs. I think that should resolve the issue you mention here; unfortunately, there's not an easy way to completely separate the build from the commit in mike
; the goal was to use Git branches to manage a lot of the complexity here.
from mike.
I understand, but i don't know, how i pass a commit to an other job of the same github action build pipeline
from mike.
There might be an easier way than this, but at worst, you could just upload the diff of the latest commit as your artifact, and then commit/push it on your deploy job.
from mike.
Closing this; I think my comment immediately above is the best solution here, barring some major changes to how mike works. If you need some more pointers on how to get this set up, feel free to comment again though.
from mike.
Related Issues (20)
- Is it possible to add additional parameters to mkdocs build? HOT 3
- DeprecationWarning about use of pkg_resources HOT 1
- Is there a way to include the version in the body of the docs (e.g. header)? HOT 3
- The command `mike serve` does not work when the docs are deployed using `--prefix` flag HOT 8
- Version drop-down missing from specific pages in main (unstable) HOT 1
- Possibility to resolve default version without version tag in url HOT 1
- [FEATURE] A smart version selector HOT 1
- how to exclude forbidden files (sitemap.xml.gz) HOT 3
- Setting Up Multi-Product Documentation URLs with MkDocs and Mike HOT 2
- Support for Git LFS? HOT 3
- Use `canonical_version` to defer Google etc. indexing old docs, but how?
- Some config values are not supported despite that they are mentioned in Configuration description. HOT 2
- gh-pages redirect/forward to default version not working HOT 2
- [HELP WANTED] versioning doesn't appear on setup (serve locally) HOT 1
- PyPI release HOT 1
- versioning doesn't appear on setup (serve locally) HOT 1
- Add support for "hidden" versions to the built-in theme extensions HOT 2
- The `latest` folder with redirects deleted by mike 2.0.0 HOT 20
- "Nice to have" FR: a way to do the equivalent of `git show --stat` *if* a commit is created HOT 3
- 'mike deploy'does not honor the mkdocs extra HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mike.