mirror of
https://github.com/CFC-Servers/cfc_ulx_commands.git
synced 2025-03-04 03:13:28 -05:00
Use workshop
This commit is contained in:
parent
48f59eecc1
commit
404af2e41c
35
.github/workflows/deploy.yml
vendored
Normal file
35
.github/workflows/deploy.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
name: Deploy to Workshop
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
changelog:
|
||||
type: string
|
||||
required: false
|
||||
default: "Update to latest Git commit"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: project
|
||||
|
||||
- name: Remove Non-content
|
||||
run: |
|
||||
rm -rf $GITHUB_WORKSPACE/project/.git*
|
||||
rm -fv $GITHUB_WORKSPACE/project/LICENSE*
|
||||
rm -fv $GITHUB_WORKSPACE/project/README*
|
||||
- uses: CFC-Servers/gmod-upload@master
|
||||
with:
|
||||
id: 3114955082
|
||||
changelog: ${{ inputs.changelog }}
|
||||
title: CFC ULX Commands
|
||||
type: ServerContent
|
||||
tag1: fun
|
||||
env:
|
||||
STEAM_USERNAME: ${{ secrets.WORKSHOP_UPLOADER_USERNAME }}
|
||||
STEAM_PASSWORD: ${{ secrets.WORKSHOP_UPLOADER_PASSWORD }}
|
1
lua/autorun/server/cfc_ulx_commands_init.lua
Normal file
1
lua/autorun/server/cfc_ulx_commands_init.lua
Normal file
@ -0,0 +1 @@
|
||||
resource.AddWorkshop( "3114955082" )
|
@ -2,8 +2,6 @@ AddCSLuaFile( "cl_init.lua" ) -- Make sure clientside
|
||||
AddCSLuaFile( "shared.lua" ) -- and shared scripts are sent.
|
||||
include( "shared.lua" )
|
||||
|
||||
resource.AddFile( "materials/hud/killicons/trainfucked.vmt" )
|
||||
|
||||
local IsValid = IsValid
|
||||
|
||||
function ENT:Initialize()
|
||||
|
Loading…
Reference in New Issue
Block a user