Skip to content

Commit 30b5335

Browse files
feat: allow nested archive in artifacts
1 parent b3a90b7 commit 30b5335

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/jekyll-build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ on:
99
required: false
1010
default: ''
1111
type: string
12+
extract_archive:
13+
description: |
14+
Name of nested archive to extract. In some cases you may want to upload a zip of files to reduce
15+
upload size and time. If you do this, you must specify the name of the archive to extract.
16+
required: false
17+
default: ''
18+
type: string
1219
config_file:
1320
description: 'Configuration file to use, relative to the site source directory'
1421
required: false
@@ -72,6 +79,13 @@ jobs:
7279
name: ${{ inputs.site_artifact }}
7380
path: project
7481

82+
- name: Extract archive
83+
if: ${{ inputs.site_artifact != '' && inputs.extract_archive != '' }}
84+
working-directory: project
85+
run: |
86+
tar -xf ${{ inputs.extract_archive }} -C .
87+
rm -f ${{ inputs.site_artifact }}
88+
7589
- name: Setup project
7690
if: ${{ github.repository == 'LizardByte/LizardByte.github.io' }}
7791
run: |

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ jobs:
6464
GH_BOT_NAME: ${{ secrets.GH_BOT_NAME }}
6565
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
6666
```
67+
68+
For additional options see [jekyll-build.yml](.github/workflows/jekyll-build.yml)

assets/css/custom-styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body {
1313
border-style: solid;
1414
}
1515

16-
.card-body, .card-custom, .card-footer, .cr-picker-button, .cr-picker-submenu {
16+
.card-body, .card-custom, .card-footer, .card-img-top, .cr-picker-button, .cr-picker-submenu {
1717
--bs-bg-opacity: 1;
1818
background-color: var(--navbar-col) !important;
1919
}

0 commit comments

Comments
 (0)