Skip to content

Commit

Permalink
Hotfixes for both the website and the modpack deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkiwritescode committed Feb 13, 2024
1 parent 2865ff4 commit 62e240a
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/modpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
run: |
mkdir -p _modpacks/build
build_dir=$(pwd)/_modpacks/build
for d in _modpacks/*/* ; do
for d in _modpacks/packs/*/* ; do
modpack_id=$(jq -r "keys[0]" $d/manifest.json)
resource_name=$(jq -r ".$modpack_id.resources" $d/manifest.json)
resource_directory="_modpacks/$resource_name/resources"
resource_directory="_modpacks/resources/$resource_name"
echo "$resource_directory"
mkdir -p $d/$modpack_id
cp "_data/backgrounds.yml" $d/$modpack_id/backgrounds.yml
Expand Down
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions mapsTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@ <h1 class="jumbotron-heading">Community Maps</h1>
{%- capture frbFiles -%}
{{ map.frbFile1 }}
{%- endcapture -%}
{%- elsif map.frbFiles -%}
{%- else -%}
{%- capture frbFiles -%}
{{ map.frbFiles }}
{% for download in map.music.download -%}
{{ download }}
{% endfor -%}
{%- endcapture -%}
{%- endif -%}
{%- assign background = site.data.backgrounds | where: "background", map.background | first %}
Expand Down

0 comments on commit 62e240a

Please sign in to comment.