1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Update build script

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2022-10-11 05:04:05 +13:00
parent 93b6615602
commit 90faffb974
3 changed files with 26 additions and 27 deletions

View File

@@ -11,7 +11,7 @@ jobs:
id: get-app-token
uses: tibdex/github-app-token@v1
with:
app_id: 242301
app_id: ${{ secrets.PR_TASK_COMPLETED_CHECKER_APP_ID }}
private_key: ${{ secrets.PR_TASK_COMPLETED_CHECKER_APP_PRIVATE_KEY }}
- uses: Shopify/task-list-checker@main

View File

@@ -428,10 +428,9 @@ Then work your way through the values you pasted, and change any which are speci
### HelmRelease
Lastly, having set the scene above, we define the HelmRelease which will actually deploy the sealed-secrets controller into the cluster, with the config we defined above. I save this in my flux repo as `sealed-secrets/helmrelease-sealed-secrets.yaml`:
Lastly, having set the scene above, we define the HelmRelease which will actually deploy the sealed-secrets controller into the cluster, with the config we defined above. I save this in my flux repo:
??? example "Example HelmRelease (click to expand)"
```yaml
```yaml title="/sealed-secrets/helmrelease-sealed-secrets.yaml"
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:

View File

@@ -8,14 +8,14 @@
# python3 scripts/build.py mkdocs.yml
# install mkdocs (or insiders version, if we're passed a GH_TOKEN var)
if [ "$GH_TOKEN" -eq "" ]
if [ -z "$GH_TOKEN" ]
then
echo "No GH_TOKEN passed, doing a normal build.."
pip install mkdocs-material
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs.yml
else
echo "GH_TOKEN passed, doing an insiders build.."
pip install -e mkdocs-material-insiders
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs-insiders.yml
fi