dimaslz/dimaslz Deploy
Automate deploying websites in server with docker
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| server_ip | IP of your machine to deploy the applications, example: 12.34.56.78 | yes | — |
| user | User to connect to your machine, example: root | yes | — |
| ssh_private_key | SSH private key from your application secrets, to connect to the server, example: "secrets.CONNECTION_PRIVATE_KEY" | yes | — |
| app_host | application host, as for example: your-domain.com. Will create a config to serve the application in: `${app_name}.your-domain.com` | yes | — |
| app_name | application name in kebab case format, as for example: my-app. Finally will serve the application in: https://my-app.your-domain.com. By default repo name | no | — |
| app_ports | port where is serve the application, for example: 8080 | no | — |
| source | where the application create the build. By default /dist | no | — |
| dockerfile | do you want to deploy an specific Dockerfile?. Setup the source as for example: '.' | no | — |
| env | your environment vars for the app. Check demo in README.md | no | — |
| static | boolean, by default false. Will create the environment for an static o server app | no | — |
| run_command | for static sites, will is not needed command, for server apps, by default will use `yarn start`, but you can specify the command to run your application for any stack | no | — |
| build_command | by default, we will use 'yarn build' but, you can specify an specific command | no | — |
| wildcard_ssl | by default 'false', set to 'true' if the final url of the project is *.*.domain.tld and, automatically, the action will create an SSL certificate by Certbot (not ready to use, experimental WIP) | no | — |
| env_name | by default 'production', but you can setup the tag as you want. This will not affect to the domain. | no | — |
| repo_token | by default null, but you can setup repo_token: 'secrets.GITHUB_TOKEN' | no | — |
Outputs
no outputs