Deploy to Workshop #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |