Test auth #3
Workflow file for this run
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: CI test package | |
on: | |
push: | |
branches: | |
- ci-lint | |
jobs: | |
dbt-docs-public: | |
name: dbt docs public | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Authenticate to GCP | |
uses: 'google-github-actions/auth@v2' | |
with: | |
project_id: crypto-stellar | |
credentials_json: "${{ secrets.CREDS_PROD_HUBBLE }}" | |
- name: Set up dbt profile | |
run: | | |
. ci_profiles.sh test test_crypto_stellar test-hubble-319619 | |
- id: 'upload-folder' | |
uses: 'google-github-actions/upload-cloud-storage@v2' | |
with: | |
path: '${{ github.workspace }}/target' | |
destination: 'dbt-docs-website' | |
parent: false | |
glob: '*.json|*.html' |