Skip to content

Commit 78c4f91

Browse files
committed
repeat ansible api deployment
1 parent a6da2e2 commit 78c4f91

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ jobs:
4242
echo "DB_PASS=$(echo $json | jq -r '.mysql_admin_pwd.value')" >> $GITHUB_ENV
4343
echo "DB_NAME=$(echo $json | jq -r '.mysql_database_name.value')" >> $GITHUB_ENV
4444
45-
# - name: Create SSH key file
46-
# run: |
47-
# mkdir -p ~/.ssh
48-
# echo "${{ secrets.VM_SSH_KEY }}" > ~/.ssh/vm_ssh_key
49-
# chmod 600 ~/.ssh/vm_ssh_key
45+
- name: Create SSH key file
46+
run: |
47+
mkdir -p ~/.ssh
48+
echo "${{ secrets.VM_SSH_KEY }}" > ~/.ssh/vm_ssh_key
49+
chmod 600 ~/.ssh/vm_ssh_key
5050
51-
# - name: Make script executable
52-
# run: chmod +x ./ansible/deploy-api-from-local.sh
51+
- name: Make script executable
52+
run: chmod +x ./ansible/deploy-api-from-local.sh
5353

54-
# - name: Deploy API with Ansible
55-
# run: ./ansible/deploy-api-from-local.sh
54+
- name: Deploy API with Ansible
55+
run: ./ansible/deploy-api-from-local.sh

0 commit comments

Comments
 (0)