diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 150f11c..4c63020 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -8,10 +8,8 @@ on: jobs: build: - runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet/sdk:10.0 + runs-on: dotnet steps: - # No checkout needed — Forgejo Actions auto-clones the repo - name: Restore dependencies run: dotnet restore @@ -24,8 +22,7 @@ jobs: publish: needs: build if: github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet/sdk:10.0 + runs-on: dotnet steps: - name: Publish Blazor WASM run: dotnet publish -c Release -o /tmp/publish @@ -35,5 +32,3 @@ jobs: echo "Deploying StellarisIdle Blazor WASM to /srv/web/stellaris.holoshaii.dev/" mkdir -p /srv/web/stellaris.holoshaii.dev cp -r /tmp/publish/wwwroot/* /srv/web/stellaris.holoshaii.dev/ - # Only works if runner runs on same host as web server - # For remote deploy, use rsync/scp instead