Compare commits
No commits in common. "71cd6acecd5683645500371916f1dee6d1f85aff" and "271b3f865411104f5a148efb051974aa18d71d5d" have entirely different histories.
71cd6acecd
...
271b3f8654
4 changed files with 42 additions and 2 deletions
40
.circleci/config.yml
Normal file
40
.circleci/config.yml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
branches:
|
||||
only: [master]
|
||||
working_directory: /tmp/danielrayjones
|
||||
docker:
|
||||
- image: hugomods/hugo:0.120.4
|
||||
steps:
|
||||
- add_ssh_keys:
|
||||
fingerprints:
|
||||
- "23:c0:43:4c:ae:5b:92:a6:5b:79:92:6b:ca:62:59:8d"
|
||||
- checkout
|
||||
- run:
|
||||
name: Configure git user
|
||||
command: |
|
||||
git config --global user.email "ci@danielrayjones.com"
|
||||
git config --global user.name "Circle CI"
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
apk add openssh
|
||||
git submodule init
|
||||
git submodule update
|
||||
- run:
|
||||
name: Creating build directory
|
||||
command: git clone -b gh-pages `git remote get-url origin` public
|
||||
- run:
|
||||
name: Build site
|
||||
command: hugo --cleanDestinationDir
|
||||
- run:
|
||||
name: No Jekyll
|
||||
command: touch public/.nojekyll
|
||||
- run:
|
||||
name: Deploy site
|
||||
command: |
|
||||
cd public
|
||||
git add -A
|
||||
git commit -m "$(date --iso-8601=seconds) Deploy new site"
|
||||
git push
|
||||
Binary file not shown.
|
|
@ -1,3 +1,3 @@
|
|||
{{ $options := (dict "targetPath" "extra.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
||||
{{ $style := resources.Get "scss/extra.scss" | css.Sass $options | resources.Fingerprint }}
|
||||
{{ $style := resources.Get "scss/extra.scss" | resources.ToCSS $options | resources.Fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 64e56efc87e2887bb048fd9b378ed74a88c80f8e
|
||||
Subproject commit 115f606bd3f7c181a15ee17411f037e79c9515c2
|
||||
Loading…
Add table
Add a link
Reference in a new issue