Compare commits
2 Commits
67bb78d0f2
...
14303d6b28
Author | SHA1 | Date | |
---|---|---|---|
14303d6b28 | |||
af6809bab6 |
25
.github/workflows/deploy.yml
vendored
25
.github/workflows/deploy.yml
vendored
@ -1,25 +0,0 @@
|
|||||||
name: GitHub Pages Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: '3.0'
|
|
||||||
bundler-cache: true
|
|
||||||
- name: Build site
|
|
||||||
run: bundle exec rake build
|
|
||||||
- name: Deploy
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_dir: ./_site
|
|
||||||
cname: digitalgarden.hypha.coop
|
|
12
.github/workflows/js-lint.yml
vendored
12
.github/workflows/js-lint.yml
vendored
@ -1,12 +0,0 @@
|
|||||||
name: JS Lint
|
|
||||||
on: [push, pull_request]
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '14.16.0'
|
|
||||||
- run: npm install standard
|
|
||||||
- run: npx standard
|
|
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -1,19 +0,0 @@
|
|||||||
name: HTMLProofer
|
|
||||||
on: [push, pull_request]
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby-version: ['2.7', '3.0']
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby-version }}
|
|
||||||
bundler-cache: true
|
|
||||||
- name: Install Curl
|
|
||||||
run: sudo apt install libcurl4-openssl-dev
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rake
|
|
@ -20,7 +20,8 @@ Based on [Hypha's digital garden for The Bentway's Digital and/as Public Space M
|
|||||||
|
|
||||||
## Development
|
## Development
|
||||||
### Using docker
|
### Using docker
|
||||||
`docker compose -f docker-compose.dev.yml up`
|
1. Run `docker compose -f docker-compose.dev.yml up`
|
||||||
|
2. Visit your `localhost` on port `4000`: http://localhost:4000 or http://0.0.0.0:4000
|
||||||
|
|
||||||
### Using jekyll
|
### Using jekyll
|
||||||
1. Clone repository: `git clone ssh://git@git.autonomic.zone:2222/autonomic-cooperative/kcl-digital-humanities-garden.git`
|
1. Clone repository: `git clone ssh://git@git.autonomic.zone:2222/autonomic-cooperative/kcl-digital-humanities-garden.git`
|
||||||
|
Loading…
Reference in New Issue
Block a user