-
-
Notifications
You must be signed in to change notification settings - Fork 1
123 lines (105 loc) · 3.02 KB
/
Copy pathfirebase_storage.yml
File metadata and controls
123 lines (105 loc) · 3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
name: Deploy to Firebase Storage
on:
push:
branches:
- main
paths:
- "curriculum.json"
- "en/**"
- "it/**"
- "es/**"
- "de/**"
- "fr/**"
- "pt/**"
- "ja/**"
- "ko/**"
- "hi/**"
- "zh/**"
- "ru/**"
- "pl/**"
- "assets/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel Workflow Action
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v3
- id: "auth"
uses: "google-github-actions/auth@v1"
with:
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
- id: upload-en
uses: google-github-actions/upload-cloud-storage@v1
with:
path: en
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-it
uses: google-github-actions/upload-cloud-storage@v1
with:
path: it
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-es
uses: google-github-actions/upload-cloud-storage@v1
with:
path: es
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-de
uses: google-github-actions/upload-cloud-storage@v1
with:
path: de
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-fr
uses: google-github-actions/upload-cloud-storage@v1
with:
path: fr
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-pt
uses: google-github-actions/upload-cloud-storage@v1
with:
path: pt
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-ja
uses: google-github-actions/upload-cloud-storage@v1
with:
path: ja
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-ko
uses: google-github-actions/upload-cloud-storage@v1
with:
path: ko
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-hi
uses: google-github-actions/upload-cloud-storage@v1
with:
path: hi
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-zh
uses: google-github-actions/upload-cloud-storage@v1
with:
path: zh
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-ru
uses: google-github-actions/upload-cloud-storage@v1
with:
path: ru
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-pl
uses: google-github-actions/upload-cloud-storage@v1
with:
path: pl
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-curriculum
uses: google-github-actions/upload-cloud-storage@v1
with:
path: curriculum.json
destination: ${{ secrets.BUCKET_NAME }}
- id: upload-assets
uses: google-github-actions/upload-cloud-storage@v1
with:
path: assets
destination: ${{ secrets.BUCKET_NAME }}