FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Writeopia/.github/workflows/deploy-web.yml at main · Writeopia/Writeopia · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Writeopia
/
Writeopia
Public
Notifications
You must be signed in to change notification settings
Fork
21
Star
276
Code
Issues
33
Pull requests
12
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Writeopia
/
.github
/
workflows
/
deploy-web.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
54 lines (45 loc) · 1.42 KB
Breadcrumbs
Writeopia
/
.github
/
workflows
/
deploy-web.yml
Copy path
File metadata and controls
54 lines (45 loc) · 1.42 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name
:
Deploy Web App
on
:
workflow_dispatch
:
push
:
branches
:
-
'
main
'
paths
:
-
'
application/web/**
'
-
'
application/features/**
'
-
'
application/core/**
'
-
'
application/common_flows/**
'
-
'
writeopia/**
'
-
'
writeopia_ui/**
'
-
'
writeopia_models/**
'
-
'
plugins/**
'
jobs
:
deploy_web
:
name
:
Build and Deploy Web App
runs-on
:
ubuntu-latest
permissions
:
contents
:
read
id-token
:
write
steps
:
-
name
:
Check out code
uses
:
actions/checkout@v7
-
name
:
Set up JDK 21
uses
:
actions/setup-java@v5
with
:
distribution
:
adopt
java-version
:
'
21
'
-
name
:
Setup Gradle
uses
:
gradle/actions/setup-gradle@v6
-
name
:
Authenticate to Google Cloud
id
:
auth
uses
:
google-github-actions/auth@v3
with
:
workload_identity_provider
:
'
projects/640912732949/locations/global/workloadIdentityPools/github-actions-pool/providers/github-provider
'
service_account
:
'
github-actions-deployer@writeopia.iam.gserviceaccount.com
'
-
name
:
Set up Cloud SDK
uses
:
google-github-actions/setup-gcloud@v3
-
name
:
Build Web App (Production)
run
:
./gradlew :application:web:jsBrowserDistribution
-
name
:
Deploy to Cloud Storage
run
:
|
gsutil -m rsync -r -d application/web/build/dist/js/productionExecutable/ gs://writeopia-web/
Back
|
FazBrowse Home
|
New Git URL