Skip to content

Commit

Permalink
Google auth after changing ownership of git workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
bendnorman committed Mar 6, 2024
1 parent 2ac8f96 commit 6e74426
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/run-full-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

- uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.DGM_GITHUB_ACTION_CREDENTIALS }}"

- name: Display env variables
run: |
echo "Workspace directory: $GITHUB_WORKSPACE" \
Expand All @@ -30,6 +26,10 @@ jobs:
- name: Give the dbcp user ownership of the workspace
run: sudo chown -R 1000:1000 $GITHUB_WORKSPACE

- uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.DGM_GITHUB_ACTION_CREDENTIALS }}"

- name: Set up Docker Compose
run: |
sudo apt-get update
Expand All @@ -39,9 +39,9 @@ jobs:
run: |
docker-compose up -d
- name: Run full ETL
run: |
make all_local
# - name: Run full ETL
# run: |
# make all_local

- name: Run all test
run: |
Expand All @@ -52,6 +52,6 @@ jobs:
run: |
docker-compose down
- name: Give ownership of the workspace back to root
if: always()
run: sudo chown -R 0:0 $GITHUB_WORKSPACE
# - name: Give ownership of the workspace back to root
# if: always()
# run: sudo chown -R 0:0 $GITHUB_WORKSPACE

0 comments on commit 6e74426

Please sign in to comment.