Skip to content

Commit

Permalink
Use actions-gh-pages (#725)
Browse files Browse the repository at this point in the history
Since we already render the page, this simpler action should be enough.

Just checking if the CI works is not enough for this PR. After it is
merged, we need to check if it also works on main and if my small doc
changes pop up.
  • Loading branch information
Hofer-Julian authored Nov 1, 2023
1 parent 74d8c00 commit 98014f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@ jobs:
- name: Render Quarto Project
run: pixi run quarto-render

- name: Set up Quarto for publish
uses: quarto-dev/quarto-actions/setup@v2
- name: Publish Quarto Project
if: github.ref == 'refs/heads/main'
uses: quarto-dev/quarto-actions/publish@v2
uses: peaceiris/actions-gh-pages@v3
with:
path: docs
render: false
target: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions docs/core/allocation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ $$
\hat{V}^{\text{out}}_S(\hat{k}) = \{\hat{j}\}.
\end{align}
$$ {#eq-returnflowconstraint}
Here we use that each user node in the allocation graph has an unique in-edge and out-edge.
Here we use that each user node in the allocation graph has a unique in-edge and out-edge.
- User allocation: The flow over the edge to the user is equal to the sum of the allocations to the user:
$$
F_{\hat{i}\hat{k}} = \sum_{p=1}^{p_\max} A^\text{user}_{\hat{k},p}, \quad \forall \hat{k} \in \hat{U}_S, \hat{V}^{\text{out}}_s(\hat{k}) = \{\hat{i}\}.
$$ {#eq-userallocationconstraint}
Here we use that each user has an unique out-edge.
Here we use that each user has a unique out-edge.
- User demand: what is allocated to the user is bounded above by the user demand:
$$
A_{\hat{i},p}^\text{user} \leq d_i^p(t) \quad \forall\hat{i} \in \hat{U}_S, \; p = 1,\ldots,p_\max.
Expand Down

0 comments on commit 98014f3

Please sign in to comment.