Skip to content

Commit

Permalink
Merge pull request #4 from Arcadia-Science/main
Browse files Browse the repository at this point in the history
Attempt publish action when merging into `publish`
  • Loading branch information
ekiefl authored Jan 15, 2025
2 parents a01d4a0 + 6152e56 commit a949912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
workflow_dispatch:
push:
branches: main
branches: publish

name: Quarto Publish

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ This repo is a template for notebook publications. The publication rendered and
## How to publish
Publishing is handled automatically with a GitHub Action that triggers whenever a pull request is merged into `main`. Thus, all the following action items should be completed before your pull request is approved and subsequently merged.
Publishing is handled automatically with a GitHub Action that triggers whenever a pull request is merged into `publish`. Thus, all the following action items should be completed before your pull request is approved and subsequently merged.
1. Enable read/write permissions for GitHub Actions
Expand Down
4 changes: 2 additions & 2 deletions demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"source": [
"def alertness(hours_sleep, coffees):\n",
" base_alertness = min(hours_sleep / 8 * 100, 100)\n",
" coffee_boost = min(coffees * 20, 60)\n",
" coffee_boost = min(coffees * 30, 60)\n",
" total = min(base_alertness + coffee_boost, 100)\n",
" return round(total, 1)\n",
"\n",
Expand Down Expand Up @@ -535,7 +535,7 @@
"metadata": {
"image/png": {
"height": 469,
"width": 660
"width": 662
}
},
"output_type": "display_data"
Expand Down

0 comments on commit a949912

Please sign in to comment.