Fix version file location(?) #3
Workflow file for this run
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: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
jobs: | ||
deploy: | ||
if: github.repository == 'ACF-Team/ACF-3' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Create Commit Version File | ||
shell: bash | ||
run: | | ||
mkdir -p ~/data_static/acf | ||
echo "${{ github.sha }}" > ~/data_static/acf/acf-3-version.txt | ||
- name: Upload to Workshop | ||
uses: CFC-Servers/gmod-upload@master | ||
with: | ||
id: whatever the ID ends up being | ||
changelog: "${{ github.event.head_commit.message }}" | ||
title: "[ACF-3] Armored Combat Framework" | ||
type: "tool" | ||
tag1: "build" | ||
tag2: "fun" | ||
tag3: "realism" | ||
env: | ||
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} | ||
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} |