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

Automatic deployment #233

Closed
mrzapp opened this issue Jun 1, 2020 · 5 comments · Fixed by #433
Closed

Automatic deployment #233

mrzapp opened this issue Jun 1, 2020 · 5 comments · Fixed by #433
Assignees
Labels
enhancement New feature or request

Comments

@mrzapp
Copy link
Contributor

mrzapp commented Jun 1, 2020

We should set up an automatic deployment task whenever code is pushed to the stable branch

@mrzapp mrzapp added the enhancement New feature or request label Jun 1, 2020
@mrzapp
Copy link
Contributor Author

mrzapp commented Jun 1, 2020

@christianlupus I recall you talking of CI/CD, do you have any ideas for how to best do this with NextCloud apps? There is a private key involved in the release process, and I'm not sure entirely how to include it without exposing it.

@strig
Copy link

strig commented Jun 13, 2020

If you're using github actions to build you might be able to use their secrets storage: https://help.github.com/en/actions/configuring-and-managing-workflows/using-variables-and-secrets-in-a-workflow

@christianlupus
Copy link
Collaborator

That depends on your selection of CI system. If using github flow, @sting's answer is the way too go. Although it is a repo secret, not a github flow secret. See the settings of the repo. Other CI solutions have similar approaches.

In any case the first step is to have an automatic publishing mechanism. Whatever it is (be it make, npm, .... or any combination of it) but it must be done without manual interaction. Starting from there you can prepare a CI system. If you want me to help you out here, I think the best would be if we would have a short chat on matrix in order to sort out things.

@mrzapp
Copy link
Contributor Author

mrzapp commented Jun 14, 2020

@christianlupus sure, let's have a chat there. I can see you hit me up already :)

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

Successfully merging a pull request may close this issue.

3 participants