1
0
mirror of https://github.com/drewcassidy/KSP-DepthMask synced 2024-06-11 00:16:59 +00:00

Add deployment to spacedock

tbh I forgot this mod was even on SpaceDock
This commit is contained in:
Andrew Cassidy 2022-11-02 22:23:57 -07:00
parent 30f898f714
commit 88b6aa0d6f
3 changed files with 23 additions and 2 deletions

View File

@ -107,13 +107,25 @@ jobs:
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: | files: |
deploy/Shabby-*.zip deploy/DepthMask-*.zip
deploy/DepthMask.version deploy/DepthMask.version
name: DepthMask Version ${{ env.GITHUB_REF }} name: DepthMask Version ${{ env.GITHUB_REF }}
body_path: RELEASE.md body_path: RELEASE.md
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 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 - name: Publish to Server
run: | run: |
rsync -t deploy/* drewcassidy@pileof.rocks:/var/www/pileof.rocks/html/KSP/ rsync -t deploy/* drewcassidy@pileof.rocks:/var/www/pileof.rocks/html/KSP/

View File

@ -2,6 +2,15 @@
All notable changes to this project will be documented in this file. 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] ## 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 This version of DepthMask requires KSP 1.11. If you are using KSP 1.10 or older, use v1.1.1

View File

@ -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. 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 ### 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