Skip to content

GCS

GCS #51

Workflow file for this run

name: GCS
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 0 * * 0"
# Declare default permissions as read only.
permissions: read-all
jobs:
upload-survey:
runs-on: ubuntu-latest
if: |
github.event_name == 'push'
&& github.ref == 'refs/heads/master'
&& github.repository == 'flutter/uxr'
steps:
- id: Checkout
uses: actions/checkout@v3
- id: 'auth'
uses: 'google-github-actions/auth@v0'
with:
credentials_json: '${{ secrets.SERVICE_KEY }}'
- id: 'upload-file'
uses: 'google-github-actions/upload-cloud-storage@v0'
with:
path: 'surveys/flutter-survey-metadata.json'
destination: 'flutter-uxr/surveys/'