Skip to content

Commit

Permalink
cicd: update data
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim committed Jan 9, 2024
1 parent ffff8e2 commit 19af46b
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/update-gql-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,4 @@ jobs:
zone: 'us-east1-b'
ssh_private_key: '${{ secrets.GCP_SSH_PRIVATE_KEY }}'
user: ga
command: sudo -i sh -c 'echo $(pwd) > /tmp/a'
# - name: 'Set up Cloud SDK'
# uses: 'google-github-actions/setup-gcloud@v2'
# with:
# version: '>= 363.0.0'
# - name: write secret
# env:
# GCP_SSH_PRIVATE_KEY: ${{secrets.GCP_SSH_PRIVATE_KEY}}
# shell: bash
# run: |
# echo "$GCP_SSH_PRIVATE_KEY" >> pk
# - name: write public key
# env:
# GCP_SSH_PUBLIC_KEY: ${{secrets.GCP_SSH_PUBLIC_KEY}}
# shell: bash
# run: |
# echo "$GCP_SSH_PUBLIC_KEY" >> pk.pub
# - name: 'Use gcloud CLI'
# run: 'gcloud compute ssh ga@graphql5 --zone us-east1-b --ssh-key-file pk --quiet --command "pwd"'
command: sudo -i sh -c 'cd pokeapi && make update-graphql-data-prod'

0 comments on commit 19af46b

Please sign in to comment.