Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ on:
jobs:
reuseaction:
name: REUSE Compliance Check
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2
uses: SchmiedmayerLab/.github/.github/workflows/reuse.yml@v0.2

markdownlinkcheck:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
uses: SchmiedmayerLab/.github/.github/workflows/markdown-links.yml@v0.2

lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v6
Expand All @@ -62,7 +62,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
ASTRO_TELEMETRY_DISABLED: "1"
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
timeout-minutes: 15
env:
ASTRO_TELEMETRY_DISABLED: "1"
BASE_PATH: "/"
SITE_URL: "https://heartstronger.org"
Comment thread
PSchmiedmayer marked this conversation as resolved.
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v6
Expand All @@ -46,7 +48,7 @@ jobs:
run: npm run build

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
path: dist

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/monthly-markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ on:
jobs:
markdown_link_check:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
uses: SchmiedmayerLab/.github/.github/workflows/markdown-links.yml@v0.2
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SPDX-License-Identifier: MIT

# HeartStrong

[![Build and Test](https://github.com/StanfordBDHG/HeartStrong/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/StanfordBDHG/HeartStrong/actions/workflows/build-and-test.yml)
[![Deploy to GitHub Pages](https://github.com/StanfordBDHG/HeartStrong/actions/workflows/deploy-pages.yml/badge.svg)](https://github.com/StanfordBDHG/HeartStrong/actions/workflows/deploy-pages.yml)
[![CodeQL](https://github.com/StanfordBDHG/HeartStrong/actions/workflows/codeql.yml/badge.svg)](https://github.com/StanfordBDHG/HeartStrong/actions/workflows/codeql.yml)
[![Build and Test](https://github.com/SchmiedmayerLab/HeartStrong/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/SchmiedmayerLab/HeartStrong/actions/workflows/build-and-test.yml)
[![Deploy to GitHub Pages](https://github.com/SchmiedmayerLab/HeartStrong/actions/workflows/deploy-pages.yml/badge.svg)](https://github.com/SchmiedmayerLab/HeartStrong/actions/workflows/deploy-pages.yml)
[![CodeQL](https://github.com/SchmiedmayerLab/HeartStrong/actions/workflows/codeql.yml/badge.svg)](https://github.com/SchmiedmayerLab/HeartStrong/actions/workflows/codeql.yml)

HeartStrong is a static patient education website that extends the HeartStrong booklet with heart failure education, guided goal setting, treatment guidance, and printable visit resources.

Expand Down Expand Up @@ -74,16 +74,20 @@ To publish it:
2. In the repository settings, configure Pages to deploy from **GitHub Actions**.
3. Push to `main` or run the workflow manually.

The Astro configuration automatically uses the repository name as the base path during GitHub Actions builds, so project-site deployments like `https://stanfordbdhg.github.io/HeartStrong/` work without manual path edits.
The Astro configuration supports both repository-path builds and custom-domain deployments through the GitHub Actions environment, so deployments like `https://heartstronger.org/` work without manual path edits.

## License

This project is licensed under the MIT License. See [Licenses](LICENSES) for more information.

## Contributors

This project is developed as part of the Stanford Byers Center for Biodesign at Stanford University.
This project is developed as part of the Schmiedmayer Lab at Stanford University.
See [CONTRIBUTORS.md](CONTRIBUTORS.md) for a full list of all contributors.

![Stanford Byers Center for Biodesign Logo](https://raw.githubusercontent.com/StanfordBDHG/.github/main/assets/biodesign-footer-light.png#gh-light-mode-only)
![Stanford Byers Center for Biodesign Logo](https://raw.githubusercontent.com/StanfordBDHG/.github/main/assets/biodesign-footer-dark.png#gh-dark-mode-only)
## Our Research

For more information, visit the [Schmiedmayer Lab GitHub organization](https://github.com/SchmiedmayerLab).

![Stanford and Stanford Medicine logos](https://raw.githubusercontent.com/SchmiedmayerLab/.github/main/assets/stanford-footer-light.png#gh-light-mode-only)
![Stanford and Stanford Medicine logos](https://raw.githubusercontent.com/SchmiedmayerLab/.github/main/assets/stanford-footer-dark.png#gh-dark-mode-only)
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";

const defaultRepositoryOwner = "StanfordBDHG";
const defaultRepositoryOwner = "SchmiedmayerLab";
const defaultRepositoryName = "HeartStrong";
const repository =
process.env.GITHUB_REPOSITORY ??
Expand Down
Loading