Skip to content

T-Buttons: small efficiency boost #265

T-Buttons: small efficiency boost

T-Buttons: small efficiency boost #265

Workflow file for this run

name: CD
# Run on Pull Requests to master and on manual interaction
on:
pull_request_target:
branches: [ master ]
workflow_dispatch:
jobs:
deploy-to-dev:
runs-on: ubuntu-latest
environment:
name: histalek-dev-env
# Sadly a 'steam://connect/<server_domain>' url is not allowed by github
# Current workaround is a 'redirect webpage' on GitHub Pages
# Ref. https://github.com/TTT-2/ttt-2.github.io
url: https://ttt-2.github.io/redirect/ttt2-dev-env
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: rsync deployments
uses: burnett01/rsync-deployments@5.2
with:
switches: -avzr --delete
# The path should end in a directory in the garrysmod addons directory
# e.g. <garrysmod_install_dir>/garrysmod/addons/ttt2
remote_path: ${{ secrets.DEPLOY_PATH }}
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_port: ${{ secrets.DEPLOY_PORT }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}