Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
actual-vt-capstone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danieljk
actual-vt-capstone
Commits
88eb74f2
Unverified
Commit
88eb74f2
authored
4 months ago
by
danieljikai
Committed by
GitHub
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Update master_fin-der.yml
parent
a47e28d7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/master_fin-der.yml
+58
-7
58 additions, 7 deletions
.github/workflows/master_fin-der.yml
with
58 additions
and
7 deletions
.github/workflows/master_fin-der.yml
+
58
−
7
View file @
88eb74f2
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name
:
Build and deploy Node.js app to Azure Web App - fin-der
on
:
...
...
@@ -10,8 +7,64 @@ on:
workflow_dispatch
:
jobs
:
# API Job
api
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up environment
uses
:
./.github/actions/setup
-
name
:
Build API
run
:
cd packages/api && yarn build
-
name
:
Create package tgz
run
:
cd packages/api && yarn pack && mv package.tgz actual-api.tgz
-
name
:
Upload Build
uses
:
actions/upload-artifact@v4
with
:
name
:
actual-api
path
:
packages/api/actual-api.tgz
# CRDT Job
crdt
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up environment
uses
:
./.github/actions/setup
-
name
:
Build CRDT
run
:
cd packages/crdt && yarn build
-
name
:
Create package tgz
run
:
cd packages/crdt && yarn pack && mv package.tgz actual-crdt.tgz
-
name
:
Upload Build
uses
:
actions/upload-artifact@v4
with
:
name
:
actual-crdt
path
:
packages/crdt/actual-crdt.tgz
# Web Job
web
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up environment
uses
:
./.github/actions/setup
-
name
:
Build Web
run
:
./bin/package-browser
-
name
:
Upload Build
uses
:
actions/upload-artifact@v4
with
:
name
:
actual-web
path
:
packages/desktop-client/build
-
name
:
Upload Build Stats
uses
:
actions/upload-artifact@v4
with
:
name
:
build-stats
path
:
packages/desktop-client/build-stats
# Main Build Job
build
:
runs-on
:
ubuntu-latest
needs
:
[
api
,
crdt
,
web
]
# Ensure these jobs complete first
steps
:
-
name
:
Install node
...
...
@@ -19,10 +72,8 @@ jobs:
with
:
node-version
:
20.x
-
name
:
Yarn install
run
:
|
yarn install
run
:
yarn install
-
name
:
Zip artifact for deployment
run
:
zip release.zip ./* -r
...
...
@@ -33,6 +84,7 @@ jobs:
name
:
node-app
path
:
release.zip
# Deployment Job
deploy
:
runs-on
:
ubuntu-latest
needs
:
build
...
...
@@ -65,4 +117,3 @@ jobs:
app-name
:
'
fin-der'
slot-name
:
'
Production'
package
:
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment