Skip to content

misc: bump deps and update .editorconfig #69

misc: bump deps and update .editorconfig

misc: bump deps and update .editorconfig #69

Workflow file for this run

name: Build and deploy xfs web
on:
push:
branches: [ master ]
paths:
- 'Bleatingsheep.OsuQqBot.Database/**'
- 'NewHydrantApi/**'
- '.github/workflows/dotnet_web.yml'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build -c Release NewHydrantApi
- name: Publish
run: dotnet publish --no-build -c Release -o bin/publish_webapi NewHydrantApi
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: Binary
path: bin/publish_webapi
deploy:
if: github.event_name == 'push'
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: Binary
path: bin/publish_webapi
- name: Push to Other Branches
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: bin/publish_webapi
publish_branch: build_webapi