-
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (32 loc) · 954 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 }}