forked from greenelab/lab-website-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
247 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,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: Checkout branch contents | ||
uses: actions/checkout@v4 | ||
|
@@ -32,7 +32,11 @@ jobs: | |
|
||
- name: Install Ruby packages | ||
if: github.event.action != 'closed' | ||
<<<<<<< HEAD | ||
uses: ruby/[email protected] | ||
======= | ||
uses: ruby/setup-ruby@v1 | ||
>>>>>>> upstream/main | ||
with: | ||
ruby-version: "3.1" | ||
bundler-cache: true | ||
|
@@ -42,14 +46,22 @@ jobs: | |
id: pages | ||
uses: actions/configure-pages@v4 | ||
|
||
# for debugging | ||
- if: runner.debug == '1' | ||
- uses: jwalton/gh-find-current-pr@master | ||
if: github.event.action != 'closed' | ||
id: pr | ||
with: | ||
state: all | ||
|
||
- name: SSH debug | ||
if: runner.debug == '1' | ||
uses: mxschmitt/action-tmate@v3 | ||
|
||
- name: Build preview version of site | ||
if: github.event.action != 'closed' | ||
run: | | ||
JEKYLL_ENV=production bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path || '' }}/${{ env.PREVIEWS_FOLDER }}/pr-${{ github.event.number }}" | ||
JEKYLL_ENV=production bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path || '' }}/${{ env.PREVIEWS_FOLDER }}/pr-${{ env.pr }}" | ||
env: | ||
pr: ${{ steps.pr.outputs.pr }} | ||
|
||
- name: Commit preview to Pages branch | ||
uses: rossjrw/[email protected] | ||
|
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 |
---|---|---|
|
@@ -20,14 +20,18 @@ 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: Checkout branch contents | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Ruby packages | ||
<<<<<<< HEAD | ||
uses: ruby/[email protected] | ||
======= | ||
uses: ruby/setup-ruby@v1 | ||
>>>>>>> upstream/main | ||
with: | ||
ruby-version: "3.1" | ||
bundler-cache: true | ||
|
@@ -36,8 +40,8 @@ jobs: | |
id: pages | ||
uses: actions/configure-pages@v4 | ||
|
||
# for debugging | ||
- if: runner.debug == '1' | ||
- name: SSH debug | ||
if: runner.debug == '1' | ||
uses: mxschmitt/action-tmate@v3 | ||
|
||
- name: Set root url | ||
|
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,8 +70,8 @@ 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: | | ||
|
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
|
@@ -8,8 +8,6 @@ _site | |
vendor | ||
debug.log | ||
__pycache__ | ||
.cache | ||
!cache.db | ||
.DS_STORE | ||
.env* | ||
package.json | ||
|
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
Binary file not shown.
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.