Skip to content

Commit

Permalink
changed secrets names
Browse files Browse the repository at this point in the history
  • Loading branch information
Foroxon committed Dec 17, 2024
1 parent d75cb39 commit 3bc7670
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_tcp_server.sh -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_tcp_server.sh -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Redeploy WebSockets
if: ${{ inputs.redeploy_web_sockets || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -73,7 +73,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_websocket_server.sh -m ${{ secrets.MEMCACHED_HOST }} -s ${{ secrets.API_SECRET }} -i ${{ secrets.MEASUREMENT_ID }}
bash redeploy_websocket_server.sh -m ${{ secrets.CLOUD_MEMCACHED_HOST }} -s ${{ secrets.API_SECRET }} -i ${{ secrets.MEASUREMENT_ID }}
- name: Redeploy Update Server (bin list)
if: ${{ inputs.redeploy_update_server || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -86,7 +86,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_update_server.sh -s '/root/ukraine_alarm_map/bin' -sb '/root/ukraine_alarm_map/bin_beta' -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_update_server.sh -s '/root/ukraine_alarm_map/bin' -sb '/root/ukraine_alarm_map/bin_beta' -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Redeploy Web Server
if: ${{ inputs.redeploy_web_server || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -99,7 +99,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_web_server.sh -d ${{ secrets.WEB_TOKEN }} -p 80 -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_web_server.sh -d ${{ secrets.WEB_TOKEN }} -p 80 -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Redeploy Weather
if: ${{ inputs.redeploy_weather || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -112,7 +112,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_weather.sh -w ${{ secrets.WEATHER_TOKEN }} -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_weather.sh -w ${{ secrets.WEATHER_TOKEN }} -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Redeploy Updater
if: ${{ inputs.redeploy_updater || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -125,7 +125,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_updater.sh -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_updater.sh -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Redeploy Svg Generator
if: ${{ inputs.redeploy_svg_generator || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -138,7 +138,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_svg_generator.sh -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_svg_generator.sh -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Redeploy Etryvoga
if: ${{ inputs.redeploy_etryvoga || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -151,7 +151,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_etryvoga.sh -e ${{ secrets.ETRYVOGA_HOST }} -ed ${{ secrets.ETRYVOGA_DISTRICTS_HOST }} -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_etryvoga.sh -e ${{ secrets.ETRYVOGA_HOST }} -ed ${{ secrets.ETRYVOGA_DISTRICTS_HOST }} -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Redeploy Alerts
if: ${{ inputs.redeploy_alerts || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand All @@ -164,7 +164,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_alerts.sh -a ${{ secrets.AIR_ALARM_API_KEY }} -p 2 -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_alerts.sh -a ${{ secrets.AIR_ALARM_API_KEY }} -p 2 -m ${{ secrets.CLOUD_MEMCACHED_HOST }}
- name: Clear unused images
uses: appleboy/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_websockets_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_websocket_server_dev.sh -m ${{ secrets.MEMCACHED_HOST }} -s ${{ secrets.API_SECRET }} -i ${{ secrets.MEASUREMENT_ID }} -r ${{ inputs.random_mode && 'True' || 'False' }} -t ${{ inputs.test_mode && 'True' || 'False' }} -f ${{ inputs.fetch_interval }}
bash redeploy_websocket_server_dev.sh -m ${{ secrets.CLOUD_MEMCACHED_HOST }} -s ${{ secrets.API_SECRET }} -i ${{ secrets.MEASUREMENT_ID }} -r ${{ inputs.random_mode && 'True' || 'False' }} -t ${{ inputs.test_mode && 'True' || 'False' }} -f ${{ inputs.fetch_interval }}

0 comments on commit 3bc7670

Please sign in to comment.