Skip to content

Commit

Permalink
Add DigitalOcean build config
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevlin committed Nov 13, 2022
1 parent 75e29fe commit a39255b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .do/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: berlin-scifi-bookclub-website
static_sites:
- build_command: rm -r ./public; hugo --destination ./public
environment_slug: hugo
github:
branch: main
deploy_on_push: true
repo: ddevlin/berlin-scifi-bookclub-website
name: berlin-scifi-bookclub-website
9 changes: 9 additions & 0 deletions .do/deploy.template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
spec:
name: berlin-scifi-bookclub-website
static_sites:
- build_command: rm -r ./public; hugo --destination ./public
environment_slug: hugo
git:
branch: main
repo_clone_url: https://github.com/ddevlin/berlin-scifi-bookclub-website.git
name: berlin-scifi-bookclub-website

0 comments on commit a39255b

Please sign in to comment.