Skip to content

Commit

Permalink
fixed 'if' (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foroxon committed Jan 25, 2024
1 parent 09a12b7 commit 8408fa8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Redeploy TCP Sockets
if: ${{ inputs.redeploy_tcp_sockets == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_tcp_sockets || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand All @@ -56,7 +56,7 @@ jobs:
git checkout ${{ github.ref_name }}
bash redeploy_tcp_server.sh -m ${{ secrets.MEMCACHED_HOST }}
- name: Redeploy Update Server (bin list)
if: ${{ inputs.redeploy_update_server == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_update_server || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand All @@ -67,7 +67,7 @@ jobs:
git checkout ${{ github.ref_name }}
bash redeploy_update_server.sh -s '/root/ukraine_alarm_map/bin'
- name: Redeploy Web Server
if: ${{ inputs.redeploy_web_server == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_web_server || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand All @@ -78,7 +78,7 @@ jobs:
git checkout ${{ github.ref_name }}
bash redeploy_web_server.sh -d ${{ secrets.WEB_TOKEN }} -p 80 -m ${{ secrets.MEMCACHED_HOST }}
- name: Redeploy Alerts
if: ${{ inputs.redeploy_alerts == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_alerts || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand All @@ -89,7 +89,7 @@ jobs:
git checkout ${{ github.ref_name }}
bash redeploy_alerts.sh -a ${{ secrets.AIR_ALARM_API_KEY }} -m ${{ secrets.MEMCACHED_HOST }}
- name: Redeploy Weather
if: ${{ inputs.redeploy_weather == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_weather || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand All @@ -100,7 +100,7 @@ jobs:
git checkout ${{ github.ref_name }}
bash redeploy_weather.sh -w ${{ secrets.WEATHER_TOKEN }} -m ${{ secrets.MEMCACHED_HOST }}
- name: Redeploy Updater
if: ${{ inputs.redeploy_updater == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_updater || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand All @@ -111,7 +111,7 @@ jobs:
git checkout ${{ github.ref_name }}
bash redeploy_updater.sh -m ${{ secrets.MEMCACHED_HOST }}
- name: Redeploy Svg Generator
if: ${{ inputs.redeploy_svg_generator == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_svg_generator || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand All @@ -122,7 +122,7 @@ jobs:
git checkout ${{ github.ref_name }}
bash redeploy_svg_generator.sh -m ${{ secrets.MEMCACHED_HOST }}
- name: Redeploy Explosions
if: ${{ inputs.redeploy_explosions == 'true' || inputs.redeploy_all == 'true' }}
if: ${{ inputs.redeploy_explosions || inputs.redeploy_all }}
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
Expand Down

0 comments on commit 8408fa8

Please sign in to comment.