Compare commits
No commits in common. "d841c352974765a6d80f36a16546fa5e43a7aca0" and "0fe5459c2fad3158e25596da8e710ac0b66bba2c" have entirely different histories.
d841c35297
...
0fe5459c2f
50
.drone.yml
50
.drone.yml
@ -1,50 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: deploy to docker container
|
|
||||||
steps:
|
|
||||||
- name: submodule
|
|
||||||
image: plugins/git
|
|
||||||
settings:
|
|
||||||
recursive: true
|
|
||||||
- name: docker cp deploy
|
|
||||||
image: 3wordchant/docker-cp-deploy:latest
|
|
||||||
depends_on:
|
|
||||||
- submodule
|
|
||||||
settings:
|
|
||||||
host: swarm.autonomic.zone
|
|
||||||
service: lasophielle_org_app
|
|
||||||
source: .
|
|
||||||
dest: /src
|
|
||||||
deploy_key:
|
|
||||||
from_secret: drone_ssh_swarm.autonomic.zone
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
- name: docker cp deploy staging
|
|
||||||
image: 3wordchant/docker-cp-deploy:latest
|
|
||||||
depends_on:
|
|
||||||
- submodule
|
|
||||||
settings:
|
|
||||||
host: swarm.autonomic.zone
|
|
||||||
service: lasophielle-staging_autonomic_zone_app
|
|
||||||
source: .
|
|
||||||
dest: /src
|
|
||||||
deploy_key:
|
|
||||||
from_secret: drone_ssh_swarm.autonomic.zone
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- staging
|
|
||||||
- name: notify on failure
|
|
||||||
image: plugins/slack
|
|
||||||
settings:
|
|
||||||
username: comradebritney
|
|
||||||
channel: clients.sophie-lewis
|
|
||||||
template: "{{repo.owner}}/{{repo.name}} build failed: {{build.link}}. Last commit by @{{build.author}}"
|
|
||||||
webhook:
|
|
||||||
from_secret: rc_builds_url
|
|
||||||
depends_on:
|
|
||||||
- docker cp deploy
|
|
||||||
- docker cp deploy staging
|
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- failure
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
/public
|
/public
|
||||||
/.hugo_build.lock
|
/.hugo_build.lock
|
||||||
/resources/
|
|
||||||
|
20
README.md
20
README.md
@ -1,6 +1,4 @@
|
|||||||
# lasophielle.org
|
## Setup
|
||||||
|
|
||||||
## Local set-up
|
|
||||||
|
|
||||||
This project uses `hugo` and git submodules. Below is how to set up Hugo on a
|
This project uses `hugo` and git submodules. Below is how to set up Hugo on a
|
||||||
Linux machine.
|
Linux machine.
|
||||||
@ -11,7 +9,7 @@ Linux machine.
|
|||||||
|
|
||||||
`snap install hugo --channel=extended`
|
`snap install hugo --channel=extended`
|
||||||
|
|
||||||
2. Run the following to make sure Bulma is installed:
|
2. Run the following to make sure the git submodules are installed:
|
||||||
|
|
||||||
```
|
```
|
||||||
git submodule init
|
git submodule init
|
||||||
@ -21,17 +19,7 @@ git submodule update
|
|||||||
3. Now you should be able to build the project. Run `hugo server` and go to the
|
3. Now you should be able to build the project. Run `hugo server` and go to the
|
||||||
localhost address printed in your terminal. 🐙
|
localhost address printed in your terminal. 🐙
|
||||||
|
|
||||||
## How to change "about me" headshot
|
## How to change about me headshot
|
||||||
|
|
||||||
Add the headshot image you want to use to the `static/img` directory. Then
|
Add the headshot image you want to use to the `static/img` directory. Then uncomment the `headshot=` option under `[param.about]`. Set this option to the filename and only the filename.
|
||||||
uncomment the `headshot=` option under `[param.about]`. Set this option to the
|
|
||||||
filename and only the filename.
|
|
||||||
|
|
||||||
## Deployment
|
|
||||||
|
|
||||||
Changes to the `main` branch are automatically deployed to
|
|
||||||
https://lasophielle.org using Drone, as configured in `.drone.yml`.
|
|
||||||
|
|
||||||
Click this badge to see recent builds:
|
|
||||||
|
|
||||||
[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/sophie-lewis-hugo/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/sophie-lewis-hugo)
|
|
||||||
|
2
deploy.sh
Executable file
2
deploy.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
hugo
|
||||||
|
abra app cp customhtml_sophielewis_lasophielle public/ app:/usr/share/nginx/html/
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
{"Target":"css/style.css","MediaType":"text/css","Data":{}}
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
{"Target":"css/style.css","MediaType":"text/css","Data":{}}
|
Reference in New Issue
Block a user