Skip to content

Commit

Permalink
Merge branch 'wwdcindex'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Jun 12, 2024
2 parents 3862352 + f5c9670 commit 8dbf1c2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mkdir -p ../dist/recordkit/api
mv dist ../dist/recordkit/api/electron
popd

pushd wwdcindex
pushd wwdcindex-reference
. ./build.sh
mv dist ../dist/wwdcindex
popd
Expand Down
11 changes: 11 additions & 0 deletions wwdcindex-reference/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# WWDC Index Reference

This part of the site pulls it's contents from the latest release in the WWDCIndex.Internal repository.

## Setup

Make sure the `gh` commandline tool is installed and authenticated with a user that has access to the WWDCIndex.Internal repo. (Either by logging in or providing a token in the environment.)

## Build release

Run `build.sh` to pull the docs from the latest release and unzip them.
5 changes: 5 additions & 0 deletions wwdcindex-reference/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash -x -e
rm -rf wwdcindex.zip dist
gh release download -R nonstrict-hq/WWDCIndex.Internal -p "wwdcindex-*" -O ./wwdcindex.zip --clobber
unzip -o ./wwdcindex.zip -d ./dist
rm wwdcindex.zip

0 comments on commit 8dbf1c2

Please sign in to comment.