Skip to content

Commit

Permalink
Create Workshop upload workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thecraftianman committed Mar 30, 2024
1 parent 1856227 commit 51c26a9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/workshop-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to Workshop

on:
push:
branches:
- master
workflow_dispatch:

jobs:
deploy:
if: github.repository == 'ACF-Team/ACF-3-Missiles'
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: project

- name: Create Commit Version File
shell: bash
run: |
mkdir -p ${{ github.workspace }}/project/data_static/acf
echo "${{ github.sha }}" > ${{ github.workspace }}/project/data_static/acf/acf-3-missiles-version.txt
- name: Upload to Workshop
uses: CFC-Servers/gmod-upload@master
with:
id: 3182731439
changelog: "${{ github.event.head_commit.message }}"
title: "[ACF-3] Armored Combat Framework - Missiles"
type: "tool"
tag1: "build"
tag2: "fun"
tag3: "realism"
env:
STEAM_USERNAME: ${{ secrets.ACF_STEAM_ACCOUNT }}
STEAM_PASSWORD: ${{ secrets.ACF_STEAM_PASSWORD }}

0 comments on commit 51c26a9

Please sign in to comment.