Skip to content

Commit

Permalink
Add website
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed Sep 6, 2024
1 parent f151ebc commit a0f8dc7
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
workflow_dispatch:
push:
branches: main

name: Quarto Publish

jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Quarto
_site

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down Expand Up @@ -160,3 +163,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

/.quarto/
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# hupo-psi.github.io
Landing site for GitHub Pages

Landing site for GitHub Pages built with [Quarto](https://quarto.org).

Run `quarto preview` to preview the site locally.
13 changes: 13 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
project:
type: website

website:
title: "HUPO-PSI GitHub Pages"

format:
html:
theme: cosmo
toc: true

execute:
freeze: auto
9 changes: 9 additions & 0 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "HUPO-PSI GitHub Pages"
---

Welcome to the HUPO-PSI GitHub Pages. Learn more about HUPO-PSI at [psidev.info](https://psidev.info)

Some PSI projects have documentation hosted on GitHub Pages. These are listed here:

- [mzSpecLib](/mzspeclib)

0 comments on commit a0f8dc7

Please sign in to comment.