File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,22 +33,11 @@ jobs:
3333 - name : Deploy
3434 uses : mojira/deploy@main
3535 with :
36- azure_client_id : ${{ secrets.AZURE_CLIENT_ID }}
37- azure_tenant_id : ${{ secrets.AZURE_TENANT_ID }}
38- azure_subscription_id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
39- bastion_name : ${{ secrets.BASTION_NAME }}
40- resource_group : ${{ secrets.RESOURCE_GROUP }}
41- resource_id : ${{ secrets.RESOURCE_ID }}
42- ssh_private_key : ${{ secrets.SSH_PRIVATE_KEY }}
43- username : arisakt
36+ vps_host : ${{ secrets.VPS_HOST }}
37+ vps_ssh_key : ${{ secrets.VPS_SSH_KEY }}
38+ vps_known_hosts : ${{ secrets.VPS_KNOWN_HOSTS }}
39+ project_folder : arisa
4440 artifact_paths : |
4541 build/install/arisa-kt/lib
4642 build/install/arisa-kt/bin
47- config/config.*
48- artifact_destination : /home/arisakt/arisa-kt
49- script : |
50- /usr/bin/screen -ls | /bin/egrep 'Detached|Attached' | /usr/bin/cut -d. -f1 | /usr/bin/awk '{print $1}' | /usr/bin/xargs /bin/kill
51- sleep 1
52- cd arisa-kt
53- mv -f /home/arisakt/arisa-kt/config.yml /home/arisakt/arisa-kt/config/config.yml
54- /usr/bin/screen -d -m bash -c '/home/arisakt/arisa-kt/bin/arisa-kt; exec sh'
43+ script : ./restart.sh
You can’t perform that action at this time.
0 commit comments