This commit is contained in:
parent
af6809bab6
commit
14303d6b28
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
|
|
Loading…
Reference in New Issue
Block a user