CODEBASE: Steam development branch updating action (#370)

This commit is contained in:
Snarling
2023-02-15 17:10:45 -05:00
committed by GitHub
parent ed59f4bfe7
commit 56ce1df0c8
2 changed files with 69 additions and 0 deletions

29
.github/workflows/steamUpdate.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
# update the steam development version
name: "Deploy dev to steam development branch"
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup steamcmd
uses: CyberAndrii/setup-steamcmd@v1
- name: Checkout dev branch
uses: actions/checkout@v3
with:
ref: dev
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Build and deploy
run: |
npm ci
npm run build
npm run electron
steamcmd +login ${{ secrets.STEAM_USERNAME }} ${{ secrets.STEAM_PASSWORD }} +run_app_build ../tools/steamdev.vdf +quit