Skip to content

Commit

Permalink
feat(cicd): display output
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim committed Jan 10, 2024
1 parent 46bd16f commit 7797651
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/update-gql-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ jobs:
--source-disk=graphql5 \
--source-disk-zone=us-east1-b \
--storage-location=us-east1
- uses: 'google-github-actions/ssh-compute@v1'
- name: 'Update update-graphql-data-prod'
uses: 'google-github-actions/ssh-compute@v1'
with:
instance_name: 'graphql5'
zone: 'us-east1-b'
ssh_private_key: '${{ secrets.GCP_SSH_PRIVATE_KEY }}'
user: ga
command: sudo -i sh -c 'cd pokeapi && make update-graphql-data-prod'
- name: 'Display update output'
run: |-
echo '${{ steps.compute-ssh.outputs.stdout }}'
echo '${{ steps.compute-ssh.outputs.stderr }}'

0 comments on commit 7797651

Please sign in to comment.