Using the app with Github Actions
-
Hi!
I want to deploy an 11ty static site to Cloudron, and if possible build it and deploy everytime I push new content to the sites Github repo. Is it possible to push to this app from a Github account, or is it only push from a local repo that's possible?
I think the later, and if I'm right: Is there any other way to push a build from a Github account to some other Cloudron app?
/Anders
-
Yes you can, you need the
cloudron-cliand a Cloudron token. Then you can use thecliin the action with the secret token to push the repo into the/app/data/<placeholder>app.cloudron push --help Usage: cloudron push [options] <local> <remote> push a single local file or directory to a remote directory Options: --app <id/location> App id or location -h, --help display help for command Examples: $ cloudron push --app myapp file.txt /app/data/file.txt # pushes file.txt $ cloudron push --app myapp file.txt /app/data/ # pushes file.txt. trailing slash is important $ cloudron push --app myapp dir /app/data # pushes dir/* as /app/data/dir/* $ cloudron push --app myapp dir/. /app/data # pushes dir/* as /app/data/* $ cloudron push --app myapp dir/subdir /app/data # pushes dir/subdir/* as /app/data/subdir/* $ cloudron push --app myapp . /app/data # pushes .* as /app/data/*
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
