-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* merge changes * Update citations * initial fixes * rm example posts * fixes to lwt merge * fix merge errors * remove unneeded file --------- Co-authored-by: cgreene <[email protected]>
- Loading branch information
Showing
47 changed files
with
1,727 additions
and
1,232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# for debugging | ||
- uses: crazy-max/ghaction-dump-context@v2 | ||
- name: Debug dump | ||
uses: crazy-max/ghaction-dump-context@v2 | ||
|
||
- name: Create Pages branch | ||
uses: peterjgrainger/[email protected] | ||
|
@@ -28,8 +28,8 @@ jobs: | |
with: | ||
ref: gh-pages | ||
|
||
# for debugging | ||
- if: runner.debug == '1' | ||
- name: SSH debug | ||
if: runner.debug == '1' | ||
uses: mxschmitt/action-tmate@v3 | ||
|
||
# clean slate, as if starting from orphan branch | ||
|
@@ -70,17 +70,21 @@ jobs: | |
run: | | ||
user="${{ github.repository_owner }}" | ||
description="An engaging 1-3 sentence description of your lab." | ||
printf "USER=${user}" >> $GITHUB_ENV | ||
printf "DESCRIPTION=${description}" >> $GITHUB_ENV | ||
printf "\nUSER=${user}" >> $GITHUB_ENV | ||
printf "\nDESCRIPTION=${description}" >> $GITHUB_ENV | ||
- name: Personalize readme for user | ||
run: | | ||
printf " | ||
# ${{ env.USER }}'s Website | ||
 | ||
 | ||
 | ||
Visit **[website url](#)** 🚀 | ||
# ${{ env.USER }}'s Website | ||
_Built with [Lab Website Template](https://greene-lab.gitbook.io/lab-website-template-docs)_ | ||
Visit **[website url](#)** 🚀 | ||
_Built with [Lab Website Template](https://greene-lab.gitbook.io/lab-website-template-docs)_ | ||
" > README.md | ||
- name: Personalize Jekyll config for user | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: on-pull-request | ||
run-name: on pull request activity | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- closed | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
update-citations: | ||
uses: ./.github/workflows/update-citations.yaml | ||
|
||
build-preview: | ||
needs: update-citations | ||
uses: ./.github/workflows/build-preview.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: on-push | ||
run-name: on push to main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
# run if user manually requests it | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
update-citations: | ||
# skip first run because nothing enabled or setup yet | ||
if: github.run_number != 1 | ||
uses: ./.github/workflows/update-citations.yaml | ||
|
||
build-site: | ||
needs: update-citations | ||
uses: ./.github/workflows/build-site.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.