Skip to content

Commit

Permalink
brief introduction to Julia
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Jan 9, 2025
1 parent 0cc6ff2 commit 03f9607
Show file tree
Hide file tree
Showing 7 changed files with 4,097 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Deploy HTML output

on:
push:
branches:
- main
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Cancel redundant CI runs automatically
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
prepare_static_html:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Rename HTML notebooks
shell: bash
run: |
mkdir -p public
cp introduction_to_julia/Introduction_to_Julia.html public/Introduction_to_Julia.html
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: public/

deploy_html:
runs-on: ubuntu-latest
needs: prepare_static_html
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

17 changes: 17 additions & 0 deletions introduction_to_julia/Introduction_to_Julia.html

Large diffs are not rendered by default.

Loading

0 comments on commit 03f9607

Please sign in to comment.