Skip to content

Commit

Permalink
Add deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Jan 23, 2024
1 parent 5818c0a commit 093a926
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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: 3143596223
changelog: ${{ inputs.changelog }}
title: CFC Parachutes
type: entity
tag1: build
env:
STEAM_USERNAME: ${{ secrets.WORKSHOP_UPLOADER_USERNAME }}
STEAM_PASSWORD: ${{ secrets.WORKSHOP_UPLOADER_PASSWORD }}

0 comments on commit 093a926

Please sign in to comment.