Publish OneWare Studio Web #27
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
name: Deploy OneWare Web Studio | |
on: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# Build job | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# Install the .NET SDK indicated in the global.json file | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Workload Restore | |
run: dotnet workload restore | |
- name: Publish | |
run: dotnet publish ./demo/OneWare.Demo.Browser/OneWare.Demo.Browser.csproj -c Release | |
- name: 📂 Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: w01e537f.kasserver.com | |
username: w01e537f | |
password: ${{ secrets.ONEWARE_STUDIO_FTP }} | |
local-dir: ./demo/OneWare.Demo.Browser/bin/Release/net7.0/browser-wasm/AppBundle/ | |
server-dir: demo.oneware.studio/ |