Fix folder deployment to S3 #6

Merged
tschwery merged 2 commits from fix-deployment into master 2018-11-12 19:05:52 +00:00
4 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,7 @@ deploys3-master:
before_script:
- pip install awscli
script:
- aws s3 cp . s3://${S3_BUCKET_NAME}/ --recursive
- aws s3 cp build s3://${S3_BUCKET_NAME}/ --recursive
environment:
name: ${CI_COMMIT_REF_SLUG}
url: http://${S3_BUCKET_NAME}.s3-website-${AWS_BUCKET_REGION}.amazonaws.com/

View file

@ -21,7 +21,7 @@
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/">{{#block "title"}} {{/block}}</a>
<a class="navbar-brand" href="/index.html">{{#block "title"}} {{/block}}</a>
{{!-- Fixme
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">

View file

@ -1,4 +1,4 @@
<a href="/{{ @key }}/" class="list-group-item {{#ifCond @key '==' currentTag }}active{{/ifCond }}">
<a href="/{{ @key }}/index.html" class="list-group-item {{#ifCond @key '==' currentTag }}active{{/ifCond }}">
<span class="badge">{{ posts.length }}</span>
{{ data.title }}
</a>

View file

@ -21,7 +21,7 @@
</h1>
<div class="header-container row">
<div class="header-category col-sm-4">
<a href="/{{ category }}/">{{ categoryPage.data.title }}</a>
<a href="/{{ category }}/index.html">{{ categoryPage.data.title }}</a>
</div>
<div class="col-sm-2">
</div>