mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix CI: add v* protected tag rule and strip sourcemaps before nsite deploy
This commit is contained in:
1 file changed
+3
@@ -57,6 +57,9 @@ deploy-nsite:
|
||||
- npm run build
|
||||
- cp dist/index.html dist/404.html
|
||||
|
||||
# Remove sourcemaps to stay under nsite's 65KB manifest limit
|
||||
- find dist -name '*.map' -delete
|
||||
|
||||
# Download nsyte binary
|
||||
- curl -fsSL "https://github.com/sandwichfarm/nsyte/releases/download/${NSYTE_VERSION}/nsyte-linux" -o /usr/local/bin/nsyte
|
||||
- chmod +x /usr/local/bin/nsyte
|
||||
|
||||
Reference in new issue
Block a user