Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Atomsoldat committed Dec 29, 2024
1 parent 8614700 commit 8975f64
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ on:
branches:
- '*'
jobs:
build:
build_website:
permissions:
# these permissions are needed to authenticate with gcloud
contents: 'read'
id-token: 'write'
runs-on: ubuntu-latest
steps:

- name: Checkout Repo
uses: actions/checkout@master
uses: actions/checkout@v4

- name: Build Website
# TODO: pick a version?
Expand All @@ -23,14 +27,16 @@ jobs:
name: website
path: './public'

#https://github.com/google-github-actions/auth
- name: Google Auth
id: auth
uses: 'google-github-actions/auth@v2'
with:
token_format: 'access_token'
project_id: ${{ env.PROJECT_ID }}
service_account: ${{ env.SERVICE_ACCOUNT }}
workload_identity_provider: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}
#workload_identity_provider: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}
workload_identity_provider: "dingeldungel"

- name: Docker Auth
id: docker-auth
Expand Down

0 comments on commit 8975f64

Please sign in to comment.