Comments (3)
Oh, I was probably going to also move test-site into a branch (and add an option for build from branch).
Maybe get funky and make sub-actions via subtree and branches. could have the build and check things be stand-alone in case people wanted to use them via action-name@syntax but still live in the main repo to not need an extra submodudule checkout
from zola-deploy-action.
Can you please describe the changes you are proposing to make, in addition to having history on the deployment branch?
From a quick look it looks like a major change in the way variables are defined and provided to the action, so it would be better to have it as a separate/new action so that we don't break the workflow of people already using this action.
from zola-deploy-action.
To start, not erasing peoples repositories (based on some comment I saw in Discourse) if they get it wrong. No unwarned force pushes in an action!? Or overall forcing history erasure (that was why I started my refactor). And in the process isolating the action to be just the zola pieces for easier maintenance (and leaving github token issues to the checkout or deploy step to simplify the code and usage). And using a composite action for composability etc (see zola-cli@check).
It seems like most of the open issues go away if you don't do the git push step manually yourself: cross host auth tokens, history, etc are simpler just relying on a checkout action and pushing to that, much less using an action to even manage that. Originally I just did the checkout then mv .git to the content folder shuffle, but it was even simpler when I stopped managing that piece manually myself.
In the end I just ended up refactoring my own to use James Ivey's more generic and broadly used "deploy to gh-pages" for that step and focused on the zola. :)
Since you have the repo that is referenced in documents, and I started with that I'm happy to push any changes upstream of course. But as it's a much different approach at this point, so if you decide it's not a direction you like, I gave you a shoutout in the acknowledgements (even if I'm not sure there's an original line left).
Cheers
https://github.com/knzai/zola-build
https://github.com/knzai/zola-cli
from zola-deploy-action.
Related Issues (20)
- Docs update suggestion HOT 4
- BUILD_THEMES: false as no effect HOT 1
- Extremely slow build due to creating many layers in Dockerfile HOT 4
- Custom Syntah Highlighthing theme not working HOT 1
- Action causes custom url in github pages to reset HOT 3
- Fatal error when trying to fetch theme submodules HOT 1
- dubious ownership error HOT 5
- Build failing HOT 1
- v0.17.0 available HOT 1
- Add .nojekyll
- Still getting "fatal: detected dubious ownership in repository" errors
- deployment fails with "error: wrong number of arguments, should be 2" HOT 4
- dubious ownership error in v0.17.2 HOT 2
- File not found when building site HOT 3
- fatal: Authentication failed HOT 3
- Error in CI connected possibly to safe directories HOT 5
- Resize image failing
- Release v0.17.3 with the latest fixes? HOT 1
- Error: config.toml not found in current directory HOT 1
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 zola-deploy-action.