diff --git a/.github/workflows/rebuild-on-search-update.yml b/.github/workflows/rebuild-on-search-update.yml new file mode 100644 index 0000000..af1f721 --- /dev/null +++ b/.github/workflows/rebuild-on-search-update.yml @@ -0,0 +1,43 @@ +name: Rebuild Site on Search Database Update + +on: + push: + branches: [ main ] + paths: + - 'assets/js/search_db.json' + +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' + bundler-cache: true + + - name: Build site and search database + run: | + chmod +x scripts/build.sh + ./scripts/build.sh + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/update-search.yml b/.github/workflows/update-search.yml index 3555851..be4499f 100644 --- a/.github/workflows/update-search.yml +++ b/.github/workflows/update-search.yml @@ -2,7 +2,7 @@ name: Update Search Database on: schedule: - - cron: '0 */12 * * *' # Run every 12 hours + - cron: '0 4 * * *' # Run daily at 4:00 UTC workflow_dispatch: # Allow manual trigger push: branches: [ main ] @@ -64,6 +64,7 @@ jobs: - name: Generate search database run: ruby scripts/generate_search_db.rb + - name: Commit and push if changed run: | git config --local user.email "action@github.com" diff --git a/News.md b/News.md index 9089d3f..327cff8 100644 --- a/News.md +++ b/News.md @@ -2,6 +2,17 @@ ### March +- [Sanjay, V., & Lohse, D. Unifying theory of scaling in drop impact: Forces & maximum spreading diameter. Published in Physical Review Letters.](/research#15) + +
+ + Drop impact PRL paper + +
+ View Paper +
+
+ - Join us for a hybrid online+offline course: [High-Fidelity Simulations Using Basilisk C](/teaching/2025-Basilisk101-Madrid) in Madrid, Spain (March 10-13). Learn some computational (colorful) fluid dynamics with hands-on coding sessions. ### February diff --git a/_config.yml b/_config.yml index 3b79be1..159fb1e 100644 --- a/_config.yml +++ b/_config.yml @@ -23,4 +23,13 @@ collections: permalink: /:collection/:name teaching: output: true - permalink: /:collection/:name \ No newline at end of file + permalink: /:collection/:name + +# Exclude from processing +exclude: + - scripts/node_modules + - scripts/temp_blog_repo + - node_modules + - vendor + - .sass-cache + - .jekyll-cache \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 4673ad2..7ab8255 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -32,11 +32,19 @@ + + + + + + {% if page.tags %}{% endif %} @@ -49,6 +57,30 @@ + + + + {% if page.layout == 'research' %} + + {% endif %} diff --git a/_layouts/research.html b/_layouts/research.html index 75f2189..0a1c3a6 100644 --- a/_layouts/research.html +++ b/_layouts/research.html @@ -106,11 +106,19 @@ + + + + + + @@ -125,6 +133,17 @@ + + + diff --git a/_layouts/teaching.html b/_layouts/teaching.html index 76d03f9..5b1a9fe 100644 --- a/_layouts/teaching.html +++ b/_layouts/teaching.html @@ -33,11 +33,19 @@ + + + + + + @@ -52,6 +60,22 @@ + + + diff --git a/_layouts/team.html b/_layouts/team.html index 864df97..ca298ab 100644 --- a/_layouts/team.html +++ b/_layouts/team.html @@ -33,11 +33,19 @@ + + + + + + @@ -52,6 +60,17 @@ + + +