forked from 1b-agent/opencadstudio-upstream
Use the main flake for website steps
Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com>
This commit is contained in:
1 parent
342c02d77c
commit
599626437b
1 file changed
+3
-3
@@ -99,7 +99,7 @@ jobs:
|
|||||||
path: website
|
path: website
|
||||||
|
|
||||||
- name: Validate website
|
- name: Validate website
|
||||||
run: nix develop "$GITHUB_WORKSPACE/website" --command python3 "$GITHUB_WORKSPACE/website/scripts/test_site.py"
|
run: nix develop --command python3 "$GITHUB_WORKSPACE/website/scripts/test_site.py"
|
||||||
|
|
||||||
- name: Assemble landing page
|
- name: Assemble landing page
|
||||||
run: |
|
run: |
|
||||||
@@ -108,7 +108,7 @@ jobs:
|
|||||||
sh "$GITHUB_WORKSPACE/website/scripts/assemble-site.sh" "$GITHUB_WORKSPACE/dist"
|
sh "$GITHUB_WORKSPACE/website/scripts/assemble-site.sh" "$GITHUB_WORKSPACE/dist"
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
nix develop "$GITHUB_WORKSPACE/website" --command bash --noprofile --norc -euo pipefail -c "$SCRIPT"
|
nix develop --command bash --noprofile --norc -euo pipefail -c "$SCRIPT"
|
||||||
|
|
||||||
- name: Record website source
|
- name: Record website source
|
||||||
run: |
|
run: |
|
||||||
@@ -117,7 +117,7 @@ jobs:
|
|||||||
git rev-parse HEAD > "$GITHUB_WORKSPACE/dist/site-version.txt"
|
git rev-parse HEAD > "$GITHUB_WORKSPACE/dist/site-version.txt"
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
nix develop "$GITHUB_WORKSPACE/website" --command bash --noprofile --norc -euo pipefail -c "$SCRIPT"
|
nix develop --command bash --noprofile --norc -euo pipefail -c "$SCRIPT"
|
||||||
|
|
||||||
- name: Record release version and source
|
- name: Record release version and source
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user