Skip to content

Commit

Permalink
Merge pull request #82 from impresso/epic/doppio
Browse files Browse the repository at this point in the history
Epic/doppio
  • Loading branch information
danieleguido authored Feb 20, 2024
2 parents bed4e67 + a823043 commit 3d4c4d9
Show file tree
Hide file tree
Showing 358 changed files with 20,230 additions and 4,474 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Fetch and update Releases Data

on:
workflow_dispatch:

jobs:
update_releases:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
working-directory: ./scripts/nodejs
run: yarn install

- name: Update Releases JSON
run: |
node github-releases.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Commit and push if it changed
uses: stefanzweifel/git-auto-commit-action@v5
42 changes: 42 additions & 0 deletions .github/workflows/zotero.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Fetch Zotero Data

on:
workflow_dispatch:

jobs:
fetch_data:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
working-directory: ./scripts/nodejs
run: yarn install

- name: Download Zotero BIBJSON for Presentations
working-directory: ./scripts/nodejs
run: node zotero.js download-collection 1486708 8PHTET8E _data/presentations.json
env:
ZOTERO_TOKEN: ${{ secrets.ZOTERO_TOKEN }}

- name: Download Zotero BIBJSON for Publications
working-directory: ./scripts/nodejs
run: node zotero.js download-collection 1486708 SPFKFKMN _data/publications.json
env:
ZOTERO_TOKEN: ${{ secrets.ZOTERO_TOKEN }}

- name: Download Zotero BIBJSON for Datasets
working-directory: ./scripts/nodejs
run: node zotero.js download-collection 1486708 UK7WNFH7 _data/datasets.json
env:
ZOTERO_TOKEN: ${{ secrets.ZOTERO_TOKEN }}

- name: Commit and push if it changed
uses: stefanzweifel/git-auto-commit-action@v5
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
_site/
.sass-cache/
.jekyll-metadata
assets/images/.DS_Store
assets/images/.DS_Store
node_modules/
*.log
vendor
*.code-workspace
.DS_Store
20 changes: 20 additions & 0 deletions .prettiercc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"overrides": [
{
"files": "*.html",
"options": {
"parser": "html",
"htmlWhitespaceSensitivity": "ignore",
"embeddedLanguageFormatting": "auto"
}
},
{
"files": "*.liquid",
"options": {
"parser": "html",
"htmlWhitespaceSensitivity": "ignore",
"embeddedLanguageFormatting": "off"
}
}
]
}
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem "empty-jekyll-theme" # This is the theme we're using
gem "github-pages", "~> 228", group: :jekyll_plugins
gem "webrick", "~> 1.8"
Loading

0 comments on commit 3d4c4d9

Please sign in to comment.