Content :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: wordsweeper | |
image: spencerldixon/wordsweeper | |
servers: | |
web: | |
hosts: | |
- 78.47.88.46 | |
labels: | |
traefik.http.routers.domain.rule: Host(`wordsweeper.fun`, `www.wordsweeper.fun`) | |
traefik.http.routers.domain.entrypoints: websecure |
Example of Kamal deployment from Github Actions.
Add your applications .env
variables to the Github repo as a repository secret, you can find this under the repo settings => secrets and variables => actions
https://github.com/username/repo_name/settings/secrets/actions
you are going to need an ssh private key that your deployment server is aware of (add public key to servers .ssh/authorized_keys) and add the ssh private key as a repo secret
create action workflows