1
0
mirror of https://github.com/drewcassidy/KSP-DepthMask synced 2024-09-01 14:54:35 +00:00

Fix deployment

This commit is contained in:
Andrew Cassidy 2022-11-03 19:24:14 -07:00
parent 0e9558d116
commit 403905abe7

View File

@ -98,7 +98,7 @@ jobs:
run: | run: |
mkdir deploy mkdir deploy
zip -r deploy/DepthMask-$GITHUB_REF.zip DepthMask/* zip -r deploy/DepthMask-$VERSION_TITLE.zip DepthMask/*
cp DepthMask/GameData/DepthMask/DepthMask.version deploy/ cp DepthMask/GameData/DepthMask/DepthMask.version deploy/
ls deploy ls deploy
@ -109,7 +109,7 @@ jobs:
files: | files: |
deploy/DepthMask-*.zip deploy/DepthMask-*.zip
deploy/DepthMask.version deploy/DepthMask.version
name: DepthMask Version ${{ env.GITHUB_REF }} name: DepthMask Version ${{ env.VERSION_TITLE }}
body_path: RELEASE.md body_path: RELEASE.md
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -123,7 +123,7 @@ jobs:
-F "changelog=$(yaclog show -mb)" \ -F "changelog=$(yaclog show -mb)" \
-F "game-version=1.12.4" \ -F "game-version=1.12.4" \
-F "notify-followers=yes" \ -F "notify-followers=yes" \
-F "zipball=@deploy/DepthMask-$GITHUB_REF.zip" \ -F "zipball=@deploy/DepthMask-$VERSION_TITLE.zip" \
"https://spacedock.info/api/mod/2943/update" "https://spacedock.info/api/mod/2943/update"
- name: Publish to Server - name: Publish to Server