Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] deploy to GCP #6

Closed
bsmth opened this issue Nov 15, 2023 · 2 comments
Closed

[feat] deploy to GCP #6

bsmth opened this issue Nov 15, 2023 · 2 comments

Comments

@bsmth
Copy link
Member

bsmth commented Nov 15, 2023

It would be great to deploy these to a GCP bucket linked with a domain like developer.mozilla.org/assets or assets.mdn.dev or similar.

See https://github.com/google-github-actions/upload-cloud-storage

jobs:
  job_id:
    permissions:
      contents: 'read'
      id-token: 'write'

    steps:
    - id: 'checkout'
      uses: 'actions/checkout@v3'

    - id: 'auth'
      uses: 'google-github-actions/auth@v1'
      with:
        workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
        service_account: '[email protected]'

    - id: 'upload-file'
      uses: 'google-github-actions/upload-cloud-storage@v1'
      with:
        path: '/path/to/file'
        destination: 'bucket-name/file'
@mdn mdn deleted a comment from github-actions bot Nov 15, 2023
@bsmth
Copy link
Member Author

bsmth commented Apr 3, 2024

Added a gh-pages deploy in #8 for now as a stopgap

@bsmth
Copy link
Member Author

bsmth commented Jul 9, 2024

I'm closing for the moment, I think we will revisit deployment options at a later stage

@bsmth bsmth closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant