Skip to content

Commit 5e5568d

Browse files
authored
feat: use nohup
1 parent fa3f338 commit 5e5568d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/update-gql-v1beta-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
zone: 'us-east1-b'
3939
ssh_private_key: '${{ secrets.GCP_SSH_PRIVATE_KEY }}'
4040
user: ga
41-
command: sudo -i sh -c 'cd pokeapi && make update-graphql-v1beta-data-prod'
41+
command: sudo -i sh -c 'cd pokeapi && nohup make update-graphql-v1beta-data-prod &'
4242
- name: 'Display update output'
4343
run: |-
4444
echo '${{ steps.compute-ssh.outputs.stdout }}'

.github/workflows/update-gql-v1beta2-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |-
2121
echo "$GCP_STAGING_GRAPHQL1_VM_SSH_PRIVATE_KEY" > pk.key
2222
chmod 400 pk.key
23-
ssh -o StrictHostKeyChecking=no -i pk.key [email protected] "sudo -i sh -c 'cd pokeapi && make update-graphql-data-prod'"
23+
ssh -o StrictHostKeyChecking=no -i pk.key [email protected] "sudo -i sh -c 'cd pokeapi && nohup make update-graphql-data-prod &'"
2424
shell: bash
2525
env:
2626
GCP_STAGING_GRAPHQL1_VM_SSH_PRIVATE_KEY: ${{secrets.GCP_STAGING_GRAPHQL1_VM_SSH_PRIVATE_KEY}}

0 commit comments

Comments
 (0)