Skip to content

Commit eabd08d

Browse files
committed
Disable continuous delivering since the dev server is off
1 parent d683027 commit eabd08d

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,17 @@ jobs:
119119
with:
120120
name: "var"
121121
path: "var/"
122-
- name: "Deploy on development server"
123-
if: "${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'workflow_dispatch' && (github.event.inputs.deploy == true || github.event.inputs.deploy == 'true')) }}"
124-
env:
125-
SSH_AUTH_SOCK: "/tmp/ssh_agent.sock"
126-
run: |
127-
mkdir --parents /home/runner/.ssh
128-
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
129-
printf '%s\n' "${{ secrets.DEPLOYER_PRIVATE_KEY }}" | ssh-add -
130-
ssh-keyscan -H bastion.teclib.com >> /home/runner/.ssh/known_hosts
131-
BRANCH=$(echo ${{ github.ref }} | sed 's|refs/heads/||')
132-
vendor/bin/dep deploy stage=development --branch=$BRANCH --file=.deploy.php --ansi --no-interaction --verbose
122+
123+
# The development server has been shutted down for the moment.
124+
#
125+
# - name: "Deploy on development server"
126+
# if: "${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'workflow_dispatch' && (github.event.inputs.deploy == true || github.event.inputs.deploy == 'true')) }}"
127+
# env:
128+
# SSH_AUTH_SOCK: "/tmp/ssh_agent.sock"
129+
# run: |
130+
# mkdir --parents /home/runner/.ssh
131+
# ssh-agent -a $SSH_AUTH_SOCK > /dev/null
132+
# printf '%s\n' "${{ secrets.DEPLOYER_PRIVATE_KEY }}" | ssh-add -
133+
# ssh-keyscan -H bastion.teclib.com >> /home/runner/.ssh/known_hosts
134+
# BRANCH=$(echo ${{ github.ref }} | sed 's|refs/heads/||')
135+
# vendor/bin/dep deploy stage=development --branch=$BRANCH --file=.deploy.php --ansi --no-interaction --verbose

0 commit comments

Comments
 (0)