From 6f708719e6c88af868edc141183a8b8c26700715 Mon Sep 17 00:00:00 2001 From: thecraftianman <64441307+thecraftianman@users.noreply.github.com> Date: Sun, 14 Jul 2024 12:37:48 -0400 Subject: [PATCH] Add automatic Workshop workflow --- .github/workflows/workshop-upload.yml | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/workshop-upload.yml diff --git a/.github/workflows/workshop-upload.yml b/.github/workflows/workshop-upload.yml new file mode 100644 index 0000000..d505eb7 --- /dev/null +++ b/.github/workflows/workshop-upload.yml @@ -0,0 +1,31 @@ +name: Deploy to Workshop + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + path: project + + - name: Upload to Workshop + uses: CFC-Servers/gmod-upload@master + with: + id: 2782407502 + changelog: "${{ github.event.head_commit.message }}" + title: "[ACF] Removed Models" + type: "model" + tag1: "build" + tag2: "fun" + tag3: "realism" + env: + STEAM_USERNAME: ${{ secrets.ACF_STEAM_ACCOUNT }} + STEAM_PASSWORD: ${{ secrets.ACF_STEAM_PASSWORD }} \ No newline at end of file