diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f6d8d67ce..b22ddd1e4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -53,3 +53,11 @@ jobs: tag: ${{ github.ref }} asset_name: cScripts_NoLoadouts-${{github.ref_name}}.zip file: release/cScripts_NoLoadouts-${{github.ref_name}}.zip + + - name: Upload CBA_Settings.sqf + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref }} + asset_name: cba_settings.sqf + file: release/cba_settings.sqf diff --git a/tools/deploy.sh b/tools/deploy.sh index 98dcfe687..79e5498ed 100755 --- a/tools/deploy.sh +++ b/tools/deploy.sh @@ -9,6 +9,8 @@ mkdir -p release/ sed -i "s/#define VERSION.*/#define VERSION \"${VERSION_TAG}\"/" cScripts/script_component.hpp sed -i "s/DevBuild/${VERSION_TAG}/" tools/config.json +cp cba_settings.sqf release/cba_settings.sqf + python3 tools/build.py --deploy # Special Builds