Move client data path

This commit is contained in:
Federico Cecchetto 2022-07-16 23:36:12 +02:00
parent 6ddfda4aa1
commit 7e73389d50
2 changed files with 3 additions and 3 deletions

View File

@ -103,13 +103,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Remove old data files
run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} rm -rf ${{ env.FED_MASTER_PATH }}/h2-mod/data/*
run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} rm -rf ${{ env.FED_MASTER_PATH }}/h2-mod/cdata/*
- name: Upload h2-mod binary
run: rsync -avz h2-mod.exe ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/
- name: Upload data files
run: rsync -avz ./data/ ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/data/
run: rsync -avz ./data/ ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/cdata/
- name: Publish changes
run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} ${{ secrets.FED_MASTER_SSH_CHANGE_PUBLISH_COMMAND }}

View File

@ -37,7 +37,7 @@ namespace filesystem
filesystem::register_path(L".");
filesystem::register_path(L"h2-mod");
filesystem::register_path(L"data");
filesystem::register_path(L"cdata");
localized_strings::clear();