Skip to content

Deploy to Workshop

Deploy to Workshop #17

Workflow file for this run

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: 3097864891
changelog: ${{ inputs.changelog }}
title: CFC PvP Weapons
type: ServerContent
tag1: build
env:
STEAM_USERNAME: ${{ secrets.WORKSHOP_UPLOADER_USERNAME }}
STEAM_PASSWORD: ${{ secrets.WORKSHOP_UPLOADER_PASSWORD }}