This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
Add maptest configs (#531) #805
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
# The best | |
name: Sync Files To Main Server | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
upload: | |
name: Sync Files | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Set Git Config | |
run: | | |
echo "${{ secrets.sftp_key }}" > key.pem | |
git config git-ftp.url ${{ secrets.sftp_main_url }} | |
git config git-ftp.user ${{ secrets.sftp_main_user }} | |
git config git-ftp.key key.pem | |
git config git-ftp.insecure "1" | |
echo "::add-mask::${{ secrets.sftp_main_hostname }}" | |
- name: Sync BossHud Files | |
run: git ftp push --verbose --auto-init --syncroot "bosshud" --remote-root "csgo/addons/sourcemod/configs/MapBossHP/" | |
- name: Sync BSP CVar Whitelist Files | |
run: git ftp push --verbose --auto-init --syncroot "bspconvar_whitelist" --remote-root "csgo/" | |
- name: Sync entWatch Files | |
run: git ftp push --verbose --auto-init --syncroot "entwatch" --remote-root "csgo/cfg/sourcemod/entwatch/maps/" | |
- name: Sync SaveLevel Files | |
run: git ftp push --verbose --auto-init --syncroot "savelevel" --remote-root "csgo/addons/sourcemod/configs/savelevel/" | |
- name: Sync Stripper Files | |
run: git ftp push --verbose --auto-init --syncroot "stripper" --remote-root "csgo/addons/sourcemod/configs/stripper/maps/" | |
- name: Sync VScript Files | |
run: git ftp push --verbose --auto-init --syncroot "vscripts" --remote-root "csgo/scripts/vscripts/gfl/" | |
- name: Sync ZombieReloaded Files | |
run: git ftp push --verbose --auto-init --syncroot "zombiereloaded" --remote-root "csgo/cfg/sourcemod/zombiereloaded/" | |
- name: Sync MusicName Files | |
run: git ftp push --verbose --auto-init --syncroot "musicname" --remote-root "csgo/addons/sourcemod/configs/MusicName/" |