File tree 2 files changed +46
-1
lines changed
2 files changed +46
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload assets to GCS
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' release-*'
6
+ jobs :
7
+ build-n-upload :
8
+ runs-on : ubuntu-latest
9
+
10
+ # Add "id-token" with the intended permissions.
11
+ permissions :
12
+ contents : ' read'
13
+ id-token : ' write'
14
+
15
+ steps :
16
+ - name : Checkout Repository
17
+ uses : actions/checkout@master
18
+ - name : Setup Node.js
19
+ uses : actions/setup-node@v2
20
+ with :
21
+ node-version : ' 18.19.0'
22
+ - name : Cache Node.js Modules
23
+ uses : actions/cache@v2
24
+ with :
25
+ path : ~/.npm
26
+ key : npm-${{ hashFiles('package-lock.json') }}
27
+ restore-keys : npm-
28
+
29
+ - name : Install dependencies
30
+ run : npm install
31
+
32
+ - name : Build Astro
33
+ run : npm run build
34
+
35
+ - name : Read GCP Credentials
36
+ id : ' auth'
37
+ uses : ' google-github-actions/auth@v2'
38
+ with :
39
+ credentials_json : ' ${{ secrets.GCP_CREDENTIALS }}'
40
+
41
+ - name : ' Set up GCP SDK'
42
+ uses : ' google-github-actions/setup-gcloud@v2'
43
+
44
+ - name : ' Upload Using gcloud CLI (rsync)'
45
+ run : ' gsutil -m rsync -R -d dist gs://beeceptor-static-websites-hosting/india-dev-stack-com/'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: How to Do Developer Marketing
3
3
description : How to Developer Marketing
4
4
pubDate : " 2024-09-18T00:00:00+05:30"
5
5
heroImage : " /opengraph.png"
6
- author : " Anish "
6
+ author : " Ankit "
7
7
---
8
8
9
9
# How to Develop a Marketing Strategy
You can’t perform that action at this time.
0 commit comments