-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add disable_nojekyll and cname options #112
Comments
I am guessing this will be similar to the Personally I like the |
Yes. Some static site generators like Hugo and Gatsby.js support to adding the In addition, to enhance the option, we can put the explanation about |
You might want to also consider an option to write a |
As I said at #25, the same may be said of other files (BingSiteAuth.xml, robots.txt, and so on). I think that it is better to manage those files as files. What is the difference between (BingSiteAuth.xml, robots.txt) and (CNAME, .nojekyll)? Those all look just files. I do not know whether we should provide the What do you think about this? @dhimmel @nicolas-van |
The difference is that I see your desire to keep things simple and don't have a strong feeling, but do think these options would be widely used if available. This action is designed for deploying to GitHub Pages. |
Personally I think that the fact that some static website generators support adding a Also I think the Jekyll feature of Github as a whole should be considered completely deprecated since the availability of Github Actions. Why would you use a super specific feature when you can basically do whatever you want ? (Including triggering your own Jekyll build if you like that generator, but using an up to date version with the plugins you choose instead of a fixed set which has always been very limited.) So my opinion regarding the
Regarding
Thank like that:
Although I would say it doesn't seem very important, that's just personal taste. |
amen
While I agree the majority of users deploying to |
Thanks all. OK. I will add two options: Why adding
I agree with this, so I am going to define the behavior like the following:
How about this spec? |
Seems good to me. |
Smart! |
- Add .nojekyll file by default for only the master and gh-pages branches. When the file already exists, this action does nothing. - When we set other branches to publish_dir, this action does not add .nojekyll file. cf. #112 Co-authored-by: Daniel Himmelstein <[email protected]> Co-authored-by: Nicolas Vanhoren <[email protected]>
I opened #119 and released - name: Deploy
uses: peaceiris/[email protected]
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# github_token: ${{ secrets.GITHUB_TOKEN }}
# personal_token: ${{ secrets.PERSONAL_TOKEN }}
# publish_branch: master
# publish_dir: ./public
disable_nojekyll: true
cname: peaceiris.com |
When the CNAME already exists, this action print the waring. Should we stop this action instead of printing the waring? |
I don't think it matters too much, but the warning message could be clearer:
Could this message be updated to indicate whether CNAME will be overwritten or not? |
How about this?
|
#119 has been merged, v3.3.0 released, and v3 updated. Thank you all @nicolas-van and @dhimmel |
You are co-author of #119 and added to the contributors. |
The contributors do not have co-authors? |
Originally posted by @nicolas-van in #9 (comment)
The text was updated successfully, but these errors were encountered: