-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move content builds to github actions and centcomm
- Loading branch information
Showing
7 changed files
with
87 additions
and
209 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 5.0.200 | ||
|
||
- name: Package client | ||
run: | | ||
Tools/package_server_build.py -p win-x64 -p linux-x64 -p osx-x64 -p linux-arm64 | ||
Tools/package_client_build.py | ||
- name: Shuffle files around | ||
run: | | ||
mkdir "release/${{ github.sha }}" | ||
mv release/*.zip "release/${{ github.sha }}" | ||
- name: Upload files to centcomm | ||
uses: appleboy/scp-action@master | ||
with: | ||
host: centcomm.spacestation14.io | ||
username: wizards-build-push | ||
key: ${{ secrets.CENTCOMM_WIZARDS_BUILDS_PUSH_KEY }} | ||
source: "release/${{ github.sha }}" | ||
target: "/mnt/ext/wizards-builds/builds/" | ||
strip_components: 1 | ||
|
||
- name: Update manifest JSON | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: centcomm.spacestation14.io | ||
username: wizards-build-push | ||
key: ${{ secrets.CENTCOMM_WIZARDS_BUILDS_PUSH_KEY }} | ||
script: /home/wizards-build-push/push.ps1 ${{ github.sha }} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
author: PJB | ||
changes: | ||
- message: Moved content builds over to a better server and threw it behind Cloudflare caching. Should download MUCH faster now! | ||
type: Tweak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.