Skip to content

Commit 3ef97b8

Browse files
committed
ci: update workflows config.
1 parent c3046ae commit 3ef97b8

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Dockerfile
22
.dockerignore
3+
config
34
node_modules
45
npm-debug.log
56
README.md

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,20 @@ jobs:
3232

3333
- run: cp config/Dockerfile ./
3434

35-
- name: Copy .dockerignore file
36-
run: cp -R config/.dockerignore ./
37-
35+
- name: Compress uiw Example.
36+
working-directory: zip
37+
run: |
38+
cat > .dockerignore << EOF
39+
Dockerfile
40+
.dockerignore
41+
config
42+
node_modules
43+
npm-debug.log
44+
README.md
45+
.next
46+
.git
47+
EOF
48+
3849
- run: ls -al
3950

4051
# Create Docker Image

0 commit comments

Comments
 (0)