Skip to content

Commit

Permalink
Test auth
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed Feb 26, 2024
1 parent 12278ac commit 3cca85f
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions .github/workflows/test_public_dbt_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,37 @@ on:
- ci-lint

jobs:
build:
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
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: test-hubble-319619
credentials_json: "${{ secrets.CREDS_TEST_HUBBLE }}"
- 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'
- 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'

0 comments on commit 3cca85f

Please sign in to comment.