🔥 No longer deploy with CircleCI
This commit is contained in:
parent
bce16e917b
commit
6067cf79bc
1 changed files with 0 additions and 40 deletions
|
|
@ -1,40 +0,0 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue