Merge branch 'main' into changes-layout
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
d841c35297
50
.drone.yml
Normal file
50
.drone.yml
Normal file
@ -0,0 +1,50 @@
|
||||
---
|
||||
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,2 +1,3 @@
|
||||
/public
|
||||
/.hugo_build.lock
|
||||
/resources/
|
||||
|
20
README.md
20
README.md
@ -1,4 +1,6 @@
|
||||
## Setup
|
||||
# lasophielle.org
|
||||
|
||||
## Local set-up
|
||||
|
||||
This project uses `hugo` and git submodules. Below is how to set up Hugo on a
|
||||
Linux machine.
|
||||
@ -9,7 +11,7 @@ Linux machine.
|
||||
|
||||
`snap install hugo --channel=extended`
|
||||
|
||||
2. Run the following to make sure the git submodules are installed:
|
||||
2. Run the following to make sure Bulma is installed:
|
||||
|
||||
```
|
||||
git submodule init
|
||||
@ -19,7 +21,17 @@ git submodule update
|
||||
3. Now you should be able to build the project. Run `hugo server` and go to the
|
||||
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 uncomment the `headshot=` option under `[param.about]`. Set this option to the filename and only the filename.
|
||||
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.
|
||||
|
||||
## 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)
|
||||
|
@ -1,2 +0,0 @@
|
||||
hugo
|
||||
abra app cp customhtml_sophielewis_lasophielle public/ app:/usr/share/nginx/html/
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
{"Target":"css/style.css","MediaType":"text/css","Data":{}}
|
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
{"Target":"css/style.css","MediaType":"text/css","Data":{}}
|
Reference in New Issue
Block a user