Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c3211ac

Browse files
authoredAug 13, 2024··
Merge pull request #125 from HaudinFlorence/new_website
New QuantStack website
2 parents 47078c8 + c6dc571 commit c3211ac

File tree

638 files changed

+71201
-25886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

638 files changed

+71201
-25886
lines changed
 

‎.github/workflows/static.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["new_website"]
8+
pull_request:
9+
branches:
10+
- '*'
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
14+
15+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
16+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
17+
concurrency:
18+
group: "pages"
19+
cancel-in-progress: false
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 20
31+
- name: Install the dependencies
32+
run: npm ci
33+
- name: Build
34+
run: npm run build
35+
- name: Upload artifact
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: ./build
39+
40+
deploy:
41+
needs: build
42+
if: github.ref == 'refs/heads/new_website'
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
permissions:
48+
contents: read
49+
pages: write
50+
id-token: write
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v4

‎.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
_site/
22
.DS_store
33
.ipynb_checkpoints/
4+
node_modules/
5+
build/
6+
.docusaurus
7+
static/img/light-and-dark-pictures/

0 commit comments

Comments
 (0)