diff --git a/.github/workflows/publish-netlify.yml b/.github/workflows/publish-netlify.yml new file mode 100644 index 0000000..36b64fc --- /dev/null +++ b/.github/workflows/publish-netlify.yml @@ -0,0 +1,34 @@ +on: + workflow_dispatch: + push: + branches: main + +name: Quarto Publish - Netlify + +jobs: + build-deploy: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Check out repository + uses: actions/checkout@v6 + + - name: Set up Quarto + uses: quarto-dev/quarto-actions/setup@v2 + + - name: Install R + uses: r-lib/actions/setup-r@v2 + with: + r-version: '4.5.2' + + - name: Install R Dependencies + uses: r-lib/actions/setup-renv@v2 + with: + cache-version: 1 + + - name: Render and Publish + uses: quarto-dev/quarto-actions/publish@v2 + with: + target: netlify + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/_publish.yml b/_publish.yml new file mode 100644 index 0000000..4abce21 --- /dev/null +++ b/_publish.yml @@ -0,0 +1,4 @@ +- source: project + netlify: + - id: "a6e57162-c6d1-4b50-a6d3-c119c8c7e922" + url: "https://nutriverse-community.netlify.app" diff --git a/_quarto.yml b/_quarto.yml index 03a5efc..37ca18c 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -10,7 +10,6 @@ website: description: Developing an integrated collection of R packages designed to support and facilitate various nutrition data analytics. navbar: title: nutriverse - #background: success logo: images/nutriverse_neg.png logo-alt: nutriverse tools: @@ -27,6 +26,9 @@ website: - icon: github aria-label: GitHub href: https://github.com/nutriverse + - icon: rss + aria-label: Blog RSS + href: https://nutriverse.io/blog.xml left: - text: Home href: index.qmd @@ -49,7 +51,26 @@ website: open-graph: site-name: nutriverse page-footer: - center: "Copyright 2024-2026, Oxford iHealth" + left: | + [![](https://www.netlify.com/assets/badges/netlify-badge-color-bg.svg){fig-alt="Deploys by Netlify"}](https://www.netlify.com) + center: "Copyright 2024-2026, nutriverse" + right: + - icon: mastodon + aria-label: Mastodon + href: https://mastodon.social/@nutriverse + rel: me + - icon: bluesky + aria-label: Bluesky + href: https://bsky.app/profile/nutriverse.io + - icon: linkedin + aria-label: LinkedIn + href: https://www.linkedin.com/company/nutriverse-community + - icon: github + aria-label: GitHub + href: https://github.com/nutriverse + - icon: rss + aria-label: Blog RSS + href: https://nutriverse.io/blog.xml background: light border: false reader-mode: true diff --git a/index.qmd b/index.qmd index d9b2881..0431a59 100644 --- a/index.qmd +++ b/index.qmd @@ -129,9 +129,9 @@ A community of practice of analysts, researchers, and practitioners learning tog # Support nutriverse -[![](images/osc_logo.png){fig-align="center" width="60%"}](https://oscollective.org/){.external target="_blank"} +[![](images/osc_logo.png){fig-align="center" width="60%"}](https://oscollective.org/) -Since January 2018 to currently, the nutriverse project has produced its open source software through the contributions of volunteer developers using personal resources. As nutriverse launches into this new year, it is outgrowing its "small hobbyist" phase and aims to grow further. + nutriverse is now a sponsored project of [Open Source Collective (OSC)](https://oscollective.org/){.external target="_blank"}, a 501(c)(6) organisation in the United States - a non-profit designation for entities that promote the shared interests of a specific field or industry which in this case is open source. OSC provides nutriverse with fiscal, legal, and administrative support to help ensure the health and sustainability of the project. Through OSC, the nutriverse project gains the ability to accept transparent donations/sponsorships and apply for relevant grants that can be used to cover costs to support developers, pay for web services, and to host community events. @@ -182,4 +182,14 @@ If you would like to contribute to supporting the goals of the nutriverse projec ::: +::: + +::: {.sponsor-banner} + +:::{.info-block-alt} + + + +::: + ::: \ No newline at end of file