Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Deploy
on:
push:
branches: [main]
pull_request_target:
types: [opened, synchronize]
branches: [main]

jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v4

- name: Set preview path for PRs
run: echo 'PRID=${{ env.PREVIEWS_PREFIX}}${{ github.event.number}}' >> $GITHUB_ENV
if: github.event_name == 'pull_request_target'

- name: Build and Deploy
uses: tlienart/xranklin-build-action@main
with:
SITE_FOLDER: "./"
BASE_URL_PREFIX: BioTutorials
PREVIEW: ${{ env.PRID }}

- name: Comment PR preview URL
uses: thollander/actions-comment-pull-request@v2
with:
message: "Preview at https://biojulia.github.io/BioTutorials/${{ env.PRID }}"
if: github.event_name == 'pull_request_target'
27 changes: 0 additions & 27 deletions .github/workflows/DocCleanup.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/documentation.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/pr_comment.yml

This file was deleted.

9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.ipynb_checkpoints
__site
__cache
node_modules/
Manifest.toml
.envrc
Claude.md
.envrc
.DS_Store
CLAUDE.md
29 changes: 29 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
+++
title = "404"
+++

~~~
<div style="margin-top: 40px; font-size: 40px; text-align: center;">

<br>

<div style="font-weight: bold;">
404
</div>

<br>
<br>

The requested page was not found

<br>
<br>
<br>
<br>

<div style="margin-bottom: 300px; font-size: 24px">
<a href="/">Click here</a> to go back to the homepage.
</div>

</div>
~~~
Loading