Skip to content

Deploy to Workshop

Deploy to Workshop #2

Workflow file for this run

name: Deploy to Workshop
on:
workflow_dispatch:
inputs:
changelog:
type: string
required: false
default: "Deployment via Github to latest changes"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: project
- name: Remove Non-content
run: |
rm -rfv $GITHUB_WORKSPACE/project/lua
rm -rfv $GITHUB_WORKSPACE/project/.git*
rm -fv $GITHUB_WORKSPACE/project/LICENSE
rm -fv $GITHUB_WORKSPACE/project/README
- uses: CFC-Servers/gmod-upload@master
with:
id: 3112828460
changelog: ${{ inputs.changelog }}
title: LFS Planes - Content
type: ServerContent
tag1: fun
env:
STEAM_USERNAME: ${{ secrets.WORKSHOP_UPLOADER_USERNAME }}
STEAM_PASSWORD: ${{ secrets.WORKSHOP_UPLOADER_PASSWORD }}