Fixing up the docs deploy script (#2787)

* fixing up the deploy script
* updating issue templates
* poor clippy
This commit is contained in:
James Hodgkinson 2024-05-22 16:12:26 +10:00 committed by GitHub
parent 7f8a00fc7a
commit a1fb5beed9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 11 deletions

View file

@ -7,18 +7,18 @@ assignees: ''
---
**Is your feature request related to a problem? Please describe.**
### Is your feature request related to a problem? Please describe
A clear description of what the problem is. Ex. I'm confused by, or would like to know how to...
**Describe the solution you'd like**
### Describe the solution you'd like
A description of what you'd expect to happen.
**Describe alternatives you've considered**
### Describe alternatives you've considered
Are there any alternative solutions or features you've considered.
**Additional context**
### Additional context
Add any other context or screenshots about the feature request here.

View file

@ -11,6 +11,8 @@ assignees: ''
### I expected the following
### This happened instead
### Kanidm version details
- Output of `kanidm(d) version`:

View file

@ -32,7 +32,8 @@ jobs:
libudev-dev \
libssl-dev \
pkg-config \
tpm-udev
tpm-udev \
libtss2-dev
- name: "Run clippy (ignores errors, this is just a check)"
run: cargo clippy --all-features --all-targets

View file

@ -104,7 +104,7 @@ jobs:
path: ./docs/
env:
ACTIONS_RUNNER_DEBUG: true
- name: Download stble artifact
- name: Download stable artifact
uses: actions/download-artifact@v4
with:
name: "individual${{ needs.pre_deploy.outputs.latest }}"
@ -120,10 +120,7 @@ jobs:
find $(pwd) -name '*.tar.gz' -ls -exec tar zxvf "{}" \;
echo "Carrying on..."
mkdir -p docs
cd docs && cp -R "$(git branch -a \
| awk '{print $1}' \
| sort -t. -k3n,3 -k4n,4 \
| awk -F'/' '{print $NF}' | tail -n1)/" stable && cd ..
cd docs && cp -R "${{ needs.pre_deploy.outputs.latest}}" stable && cd ..
ls -la docs/
echo "Cleaning up docs archives"
rm docs/*.tar.gz

5
.gitignore vendored
View file

@ -15,7 +15,6 @@ vendor.tar.*
*.patch
tools/orca/example_profiles/small/orca-edited.toml
/docs/
.vscode/
# webui things we don't need
*.d.ts
@ -39,3 +38,7 @@ scripts/oauth_proxy/client.secret
scripts/oauth_proxy/envfile
# local config things
.envrc
# IDEs
.idea/
.vscode/