Skip to content
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

proposal: Add an option to allow deploying into the main branch #1079

Open
3 tasks done
alvinsjoy opened this issue Jun 1, 2024 · 0 comments
Open
3 tasks done

proposal: Add an option to allow deploying into the main branch #1079

alvinsjoy opened this issue Jun 1, 2024 · 0 comments
Assignees
Labels

Comments

@alvinsjoy
Copy link

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your proposal

As mentioned in #363, one cannot deploy into the main (or master) branch of the repository as all the contents would be deleted but as you can now deploy to a sub directory, I dont think there is a problem if you are publishing to the main branch itself.
Also keep-files option can be used so that the contents on the default branch are not deleted.

Describe the solution you'd like

Allow changing publish_branch to main or master (ie. default branch)

Describe alternatives you've considered

No response

Additional context

This is the current error:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants