Created
November 17, 2021 14:15
-
-
Save jy2k/4de0651811ccd0b2aeb6d1dcfdd6225f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: google-github-actions/setup-gcloud@master | |
with: | |
project_id: ${{ secrets.GCP_PROJECT_ID }} | |
service_account_key: ${{ secrets.GCP_SA_KEY }} | |
export_default_credentials: true | |
- name: Use gcloud CLI | |
run: gcloud pubsub topics publish my-topic --message="hello" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment