Skip to content

Commit bd0ebef

Browse files
committed
chore(ci): added github actions
2 parents 0bed905 + af62254 commit bd0ebef

File tree

7 files changed

+1448
-1538
lines changed

7 files changed

+1448
-1538
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ out
8989

9090
# Nuxt.js build / generate output
9191
.nuxt
92+
.output
9293
dist
9394

9495
# Gatsby files

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: ['dashboard', 'docs']
6+
7+
pull_request:
8+
branches: ['dashboard', 'docs']
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Git Checkout
16+
uses: actions/checkout@v2
17+
18+
# Pull the latest image to build, and avoid caching pull-only images.
19+
# (docker pull is faster than caching in most cases.)
20+
- name: Docker Pull
21+
run: docker-compose pull
22+
23+
# In this step, this action saves a list of existing images,
24+
# the cache is created without them in the post run.
25+
# It also restores the cache if it exists.
26+
- name: Docker Cache
27+
uses: satackey/[email protected]
28+
# Ignore the failure of a step and avoid terminating the job.
29+
continue-on-error: true
30+
31+
- name: Docker Build
32+
run: docker-compose build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ out
8989

9090
# Nuxt.js build / generate output
9191
.nuxt
92+
.output
9293
dist
9394

9495
# Gatsby files
File renamed without changes.

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ services:
44
web:
55
build:
66
context: ./
7+
dockerfile: ./deploy/Dockerfile
78
ports:
89
- 3020:8080

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
"docs:serve": "vitepress serve docs"
88
},
99
"devDependencies": {
10-
"@privyid/tailwind-preset": "0.4.0",
10+
"@privyid/tailwind-preset": "0.6.0",
1111
"autoprefixer": "10.4.12",
1212
"postcss": "8.4.18",
1313
"tailwindcss": "3.2.0",
1414
"vitepress": "1.0.0-alpha.21",
1515
"vue": "3.2.41"
1616
},
1717
"dependencies": {
18-
"@privyid/persona": "0.4.0"
18+
"@privyid/persona": "0.6.0"
1919
}
2020
}

0 commit comments

Comments
 (0)