Skip to content

Commit

Permalink
Upload static files to GCS
Browse files Browse the repository at this point in the history
  • Loading branch information
psiemens committed Dec 3, 2024
1 parent 05f8ad9 commit f993bae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ jobs:

- name: Collect Django static files
run: DJANGO_SETTINGS_MODULE=config.settings.base python manage.py collectstatic --noinput

- uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: 'projects/1012602718138/locations/global/workloadIdentityPools/ubyssey-wif-pool-staging/providers/ubyssey-oidc-github-staging'
service_account: '[email protected]'

- uses: 'google-github-actions/upload-cloud-storage@v2'
with:
path: 'static'
destination: 'ubyssey-staging'

0 comments on commit f993bae

Please sign in to comment.