mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
ci: fetch missing web components
This commit is contained in:
parent
14531fa258
commit
d7cc10fa00
11
.github/workflows/docker-build-static.yml
vendored
11
.github/workflows/docker-build-static.yml
vendored
@ -465,6 +465,13 @@ jobs:
|
|||||||
path: web
|
path: web
|
||||||
- name: Web Cleanup
|
- name: Web Cleanup
|
||||||
run: mkdir app && mv web/index.html app/index.html && mv web/static app/static && mv web/pkg app/pkg
|
run: mkdir app && mv web/index.html app/index.html && mv web/static app/static && mv web/pkg app/pkg
|
||||||
|
- name: Fetch web components
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install wget
|
||||||
|
for file in $(cat app/static/libraries.txt); do wget -P app/static "$file"; done
|
||||||
|
for file in $(cat app/static/fonts/fonts.txt); do wget -P app/static/fonts "$file"; done
|
||||||
|
chmod a+r -R .
|
||||||
- name: compress web
|
- name: compress web
|
||||||
run: sudo apt update && sudo apt install -y zip && zip -r web.zip app/
|
run: sudo apt update && sudo apt install -y zip && zip -r web.zip app/
|
||||||
|
|
||||||
@ -474,12 +481,12 @@ jobs:
|
|||||||
id: create_release
|
id: create_release
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: "bin/armhf-bin/lldap-armhf,
|
artifacts: bin/armhf-bin/lldap-armhf,
|
||||||
bin/aarch64-bin/lldap-aarch64,
|
bin/aarch64-bin/lldap-aarch64,
|
||||||
bin/amd64-bin/lldap-amd64,
|
bin/amd64-bin/lldap-amd64,
|
||||||
bin/armhf-bin/migration-tool-armhf,
|
bin/armhf-bin/migration-tool-armhf,
|
||||||
bin/aarch64-bin/migration-tool-aarch64,
|
bin/aarch64-bin/migration-tool-aarch64,
|
||||||
bin/amd64-bin/migration-tool-amd64,
|
bin/amd64-bin/migration-tool-amd64,
|
||||||
web.zip"
|
web.zip
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
Loading…
Reference in New Issue
Block a user