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 config
if you want to add domain aliases (e.g.www
)abra app YOURDOMAIN.TLD deploy
Manual deployment:
cd
to the directory with everything in ittar cf - * | abra app YOURDOMAIN.TLD cp - app:/usr/share/nginx/html
Automatic deployment:
- Create
.drone.yml
file, e.g. here: https://git.autonomic.zone/kawaiipunk/writing/src/branch/main/.drone.yml - Make sure the
autonomic
user 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.yml
file