forked from toolshed/docs.coopcloud.tech
740 B
740 B
Deploying an HTML website
- Install abra
abra app new custom-html- Configure DNS to point YOUURDOMAIN.TLD to
116.203.211.204(swarm.autonomic.zone) abra app YOURDOMAIN.TLD configif you want to add domain aliases (e.g.www)abra app YOURDOMAIN.TLD deploy
Manual deployment:
cdto the directory with everything in ittar cf - * | abra app YOURDOMAIN.TLD cp - app:/usr/share/nginx/html
Automatic deployment:
- Create
.drone.ymlfile, e.g. here: https://git.autonomic.zone/kawaiipunk/writing/src/branch/main/.drone.yml - Make sure the
autonomicuser has access to the repo on Gitea - Log into Drone as autonomic and click "Sync"
- Add the repo in Drone
- Commit and push the
.drone.ymlfile