Commit 96a16a04 authored by Jay Laura's avatar Jay Laura
Browse files

Fixes for proper deploy

parent 3effba62
Loading
Loading
Loading
Loading

.gitlab-ci.yml

deleted100644 → 0
+0 −20
Original line number Diff line number Diff line
stages:
  - build
  - deploy

build:
  stage: build
  image: registry.gitlab.com/pages/hugo:latest
  script:
      - hugo --baseURL=https://asc-docs.s3-website-us-west-2.amazonaws.com/foundationaldataproducts
  artifacts:
    paths:
      - public

deploy:
  stage: deploy
  image: xueshanf/awscli:latest
  only: 
    - main
  script:
      - aws s3 sync public s3://asc-docs/foundationaldataproducts

build/.htaccess

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
ErrorDocument 404 /404.html

ExpiresActive On
ExpiresDefault "access plus 600 seconds"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 week"
ExpiresByType application/x-font-woff "access plus 1 week"
ExpiresByType application/font-woff2 "access plus 1 week"

build/404.html

deleted100644 → 0
+0 −409

File deleted.

Preview size limit exceeded, changes collapsed.

build/_includes/example.html.part

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
<p>
<i><b>Example HTML include</b></i>
</p>

<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

build/_includes/example.md.part

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
_**Example Mardown include**_

File including a simple Markdown table.

| Head 1 | Head 2 | Head 3 |
| ------ | ------ | ------ |
| 1      | 2      | 3      |
Loading