Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #275

Closed
wants to merge 10 commits into from
Closed

Test #275

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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .github/DISCUSSION_TEMPLATE/general.yaml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/DISCUSSION_TEMPLATE/q-a.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/issue.yaml

This file was deleted.

15 changes: 3 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
STOP!!!
This website is based on the Lab Website Template.
See its documentation for working with this site:

You are about to open this pull request against THE TEMPLATE ITSELF. You probably meant to open it against your own website repo.

---

FOR THE TEMPLATE MAINTAINER(S)

New template version checklist:

- [ ] I have updated CITATION and CHANGELOG as appropriate.
- [ ] I have updated lab-website-template-docs as appropriate.
- [ ] I have checked the testbed as appropriate.
https://greene-lab.gitbook.io/lab-website-template-docs
4 changes: 0 additions & 4 deletions .github/user_pull_request_template.md

This file was deleted.

57 changes: 2 additions & 55 deletions .github/workflows/first-time-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,65 +13,12 @@ jobs:
runs-on: ubuntu-latest

steps:
# for debugging
- uses: crazy-max/ghaction-dump-context@v2

- name: Create Pages branch
uses: peterjgrainger/action-create-branch@v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: "gh-pages"

- name: Checkout Pages branch
uses: actions/checkout@v4
with:
ref: gh-pages

# for debugging
- if: runner.debug == '1'
uses: mxschmitt/action-tmate@v3

# clean slate, as if starting from orphan branch
- name: Clear Pages branch
run: rm -rf * .github .docker .gitignore

# prevent GitHub from running Jekyll a second time after build
- name: Make .nojekyll file
run: touch .nojekyll

- name: Make placeholder homepage
run: printf "Placeholder homepage" > index.html

- name: Commit changes to Pages branch
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: gh-pages
commit_message: "Clear branch"

- name: Checkout main branch
uses: actions/checkout@v4

- name: Remove files user doesn't need
run: |
rm -rf \
CHANGELOG.md \
testbed.md \
.github/ISSUE_TEMPLATE \
.github/DISCUSSION_TEMPLATE \
.github/workflows/versioning.yaml \
.github/pull_request_template.md \

- name: Rename files
run: |
mv -f .github/user_pull_request_template.md .github/pull_request_template.md

- name: Set vars for personalization
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: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-citations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
update-citations:
runs-on: ubuntu-latest
timeout-minutes: 15
if: github.event.action != 'closed'

steps:
# for debugging
Expand Down
135 changes: 0 additions & 135 deletions .github/workflows/versioning.yaml

This file was deleted.

Loading