Skip to content

Commit

Permalink
Merge pull request #1 from mgrover1/add-initial-infra
Browse files Browse the repository at this point in the history
ADD: Add initial infrastructure
  • Loading branch information
mgrover1 authored Oct 9, 2024
2 parents fef5669 + 854047e commit 8595264
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This file was created automatically with `myst init --gh-pages` 🪄 💚

name: MyST GitHub Pages Deploy
on:
push:
# Runs on pushes targeting the default branch
branches: [main]
env:
# `BASE_URL` determines the website is served from, including CSS & JS assets
# You may need to change this to `BASE_URL: ''`
BASE_URL: /${{ github.event.repository.name }}

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install MyST Markdown
run: npm install -g mystmd
- name: Build HTML Assets
run: myst build --html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './_build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,6 @@ 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/

# MyST build outputs
_build
22 changes: 22 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: cape-k-student-workshop-2025-dev
channels:
- conda-forge
dependencies:
- jupyter
- mystmd
- jupyterlab
- xarray
- matplotlib
- dask
- distributed
- arm_pyart
- act-atmos
- metpy
- siphon
- cartopy
- emc2
- cmweather
- myst-parser
- pip
- pip:
- git+https://github.com/eagles-project/ESMAC_diags
Binary file added images/arm_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions myst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 1
extends:
- https://raw.githubusercontent.com/projectpythia-mystmd/pythia-config/main/pythia.yml
project:
title: ERAD 2024
github: https://github.com/ARM-Development/cape-k-student-workshop-2025
authors:
- name: Maxwell Grover
orcid: 0000-0002-0370-8974
github: mgrover1
- name: Scott Collis
orcid: 0000-0002-2303-687X
github: scollis
copyright: '2024'
toc:
- file: README.md
- file: schedule.md
jupyter:
binder:
repo: ARM-Development/cape-k-student-workshop-2025
url: https://binder.projectpythia.org/
abbreviations:
ARM: Atmospheric Radiation Measurement
settings:
output_matplotlib_strings: remove
site:
options:
logo: images/arm_logo.png
nav:
- title: ARM Home
url: https://www.arm.gov/
- title: ARM Cape-k Website
url: https://www.arm.gov/research/campaigns/amf2024cape-k
actions:
- title: Launch Environment
url: https://binder.projectpythia.org/v2/gh/ARM-Development/cape-k-student-workshop-2025/main?labpath=notebooks

2 changes: 2 additions & 0 deletions notebooks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Notebooks
A place to store notebooks for the student workshop

0 comments on commit 8595264

Please sign in to comment.