diff --git a/.gitignore b/.gitignore index 77e4655..64a2166 100755 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ resources jsconfig.json hugo_stats.json go.sum -deployDetails yarn.lock .devcontainer .vscode diff --git a/deployDetails b/deployDetails new file mode 100644 index 0000000..e6e3f93 --- /dev/null +++ b/deployDetails @@ -0,0 +1,7 @@ +deploy host: +verua.info +port: 2121 +ssh username: verua.info + +webroot main (verua.info): httpdocs/ +webroot dev (preview.verua.info) preview.verua.info/ \ No newline at end of file diff --git a/deploy_env.json b/deploy_env.json new file mode 100644 index 0000000..50b7035 --- /dev/null +++ b/deploy_env.json @@ -0,0 +1,3 @@ +{ + "env": "development" +} diff --git a/deploy_env.yaml b/deploy_env.yaml new file mode 100644 index 0000000..8157278 --- /dev/null +++ b/deploy_env.yaml @@ -0,0 +1 @@ +env: production diff --git a/hugo.toml b/hugo.toml index fe57943..58351ec 100755 --- a/hugo.toml +++ b/hugo.toml @@ -1,7 +1,3 @@ -########################### Deployment ############################# -# set to "development" or "production" to deploy the site to the correct environment -environment = "development" - ######################## default configuration #################### # The base URL of your site (required). This will be prepended to all relative URLs. baseURL = "/" @@ -20,6 +16,10 @@ defaultContentLanguage = "de" disableLanguages = ["en"] hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage +########################### Deployment ############################# +# set to "development" or "production" to deploy the site to the correct environment +environment = "development" + ########################### Services ############################# [services] [services.googleAnalytics]