Add deployment to spacedock

tbh I forgot this mod was even on SpaceDock
master
Andrew Cassidy 1 year ago
parent 30f898f714
commit 88b6aa0d6f

@ -107,12 +107,24 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
deploy/Shabby-*.zip
deploy/DepthMask-*.zip
deploy/DepthMask.version
name: DepthMask Version ${{ env.GITHUB_REF }}
body_path: RELEASE.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Spacedock
run: |
curl -F "username=drewcassidy" -F "password=${{ secrets.SPACEDOCK_PASS }}" \
-c ./cookies "https://spacedock.info/api/login"
curl -c ./cookies -b ./cookies \
-F "version=$VERSION_TITLE" \
-F "changelog=$(yaclog show -mb)" \
-F "game-version=1.12.4" \
-F "notify-followers=yes" \
-F "zipball=@deploy/DepthMask-$GITHUB_REF.zip" \
"https://spacedock.info/api/mod/2943/update"
- name: Publish to Server
run: |

@ -2,6 +2,15 @@
All notable changes to this project will be documented in this file.
## Unreleased
This version changes the distribution layout! Please make sure DepthMask.dll is deleted before updating.
### Added
- Allowed for multiple body and mask transforms to be specified using a comma seperated list
## 1.1.2 - 2021-01-15 [KSP 1.11]
This version of DepthMask requires KSP 1.11. If you are using KSP 1.10 or older, use v1.1.1

@ -35,4 +35,4 @@ Mask meshes and configs for stock parts are included in [ReStock](https://github
This plugin is licensed Creative Commons Sharealike Attribution. This means that you can redistribute it and its source code however you like under the same license as long as you include attribution and indicate the changes you made, if any.
### Redistribution
You are free to redistribute this plugin in your mods, or embed the code in your own plugins (with a different module name for compatability of course.) To prevent duplicates of the plugin, please add the dll to the root gamedata directory. In general, treat this mod the same as [Modulemanager](https://github.com/sarbian/ModuleManager) for redistribution
You are free to redistribute this plugin in your mods, or embed the code in your own plugins (with a different module name for compatability of course.) To prevent duplicates of the plugin, please add the DepthMask folder to the root gamedata directory. In general, treat this mod the same as [Modulemanager](https://github.com/sarbian/ModuleManager) for redistribution

Loading…
Cancel
Save