Compare commits

..

No commits in common. "14303d6b28fc7434fbf457e455282cbc34ec8039" and "67bb78d0f2d6e32b71882ca322b8b0548045c287" have entirely different histories.

4 changed files with 57 additions and 2 deletions

25
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,25 @@
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 Normal file
View File

@ -0,0 +1,12 @@
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 Normal file
View File

@ -0,0 +1,19 @@
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

View File

@ -20,8 +20,7 @@ Based on [Hypha's digital garden for The Bentway's Digital and/as Public Space M
## Development ## Development
### Using docker ### Using docker
1. Run `docker compose -f docker-compose.dev.yml up` `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`