diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9e85b89 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +kind: pipeline +type: docker +name: Azure Static WebApp + +steps: +- name: Checkout submodules + image: bitnami/git + commands: + - git submodule update --init --recursive + +- name: Build and upload static web app + environment: + APITOKEN: + from_secret: APITOKEN + HUGO_VERSION: 0.99.1 + image: mcr.microsoft.com/appsvc/staticappsclient:stable + commands: + - /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "public" --app "/drone/src" --deploymentaction "upload" diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7db1c4e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/bootstrap-bp-hugo-startpage"] + path = themes/bootstrap-bp-hugo-startpage + url = https://github.com/spech66/bootstrap-bp-hugo-startpage.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..0644795 --- /dev/null +++ b/config.toml @@ -0,0 +1,3 @@ +baseURL = 'https://www.tormakristof.eu/' +languageCode = 'en-us' +title = 'LandingPage' diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..aebe2b6 Binary files /dev/null and b/static/favicon.ico differ diff --git a/themes/bootstrap-bp-hugo-startpage b/themes/bootstrap-bp-hugo-startpage new file mode 160000 index 0000000..506b8e9 --- /dev/null +++ b/themes/bootstrap-bp-hugo-startpage @@ -0,0 +1 @@ +Subproject commit 506b8e92d54d38ae32932efc1602330949f068fe