-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
keep_files creates subdir instead of overwriting contents of same-name dir #509
Comments
I'm setting |
peaceiris
added a commit
that referenced
this issue
Oct 11, 2020
Note that users who are using a Static Site Generator do not need this option in most cases. Please reconsider your project structure and building scripts, or use a built-in feature of a Static Site Generator before you enable this flag. - [Static Files | Hugo](https://gohugo.io/content-management/static-files/) - [Using the Static Folder | Gatsby](https://www.gatsbyjs.com/docs/static-folder/) Related issues: - #507 - #509
Could you test #512 as follows? - name: Deploy
uses: peaceiris/actions-gh-pages@f9a2c29 #512
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
keep_files: true |
I modified my main.yml action with the above settings and then pushed a new markdown file for projects and everything seem to build correctly. Thanks for the fix. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using this action here, with
keep_files: true
(currently set tofalse
) https://github.com/fruktkartan/fruktkartan/blob/master/.github/workflows/deploy-production.yml#L24I'm quite confident that the latest
v3
deploysjs/file
tojs/js/file
, when thejs
directory already exists (same forfonts
etc).The text was updated successfully, but these errors were encountered: