File tree 2 files changed +26
-3
lines changed
2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 16
16
uses : actions/checkout@v4
17
17
- name : Set up Node.js
18
18
uses : actions/setup-node@v4
19
- with :
19
+ with :
20
20
node-version : 20
21
21
- name : Lint & Build
22
22
working-directory : ./app
25
25
uses : actions/upload-artifact@v4
26
26
with :
27
27
name : build-artifacts
28
- path : ./app/out
28
+ path : ./app/out
29
+ Deploy :
30
+ runs-on : ubuntu-latest
31
+ needs : Build
32
+ environment : Development
33
+ steps :
34
+ - name : Checkout
35
+ uses : actions/checkout@v4
36
+ - name : Download artefacts
37
+ uses : actions/download-artifact@v4
38
+ with :
39
+ name : build-artifacts
40
+ - name : ' Authenticate'
41
+ uses : ' google-github-actions/auth@v2'
42
+ with :
43
+ project_id : ${{ secrets.GCP_BUCKET }}
44
+ workload_identity_provider : ${{ secrets.GCP_WIP }}
45
+ - name : Cloud Storage Uploader
46
+ uses : google-github-actions/upload-cloud-storage@v2
47
+ with :
48
+ path : ' build-artifacts'
49
+ destination : ${{ secrets.GCP_BUCKET }}
50
+ parent : false
51
+
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default function Home() {
5
5
< main className = "flex min-h-screen flex-col items-center justify-between p-24" >
6
6
< div className = "z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex" >
7
7
< p className = "fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30" >
8
- Get started by editing
8
+ Second Iteration
9
9
< code className = "font-mono font-bold" > src/app/page.tsx</ code >
10
10
</ p >
11
11
< div className = "fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:size-auto lg:bg-none" >
You can’t perform that action at this time.
0 commit comments