Skip to content

Commit 7da01fd

Browse files
committed
fix build process to always pull latest images and copy files in the static folder also
1 parent 6c7649b commit 7da01fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,5 @@ jobs:
9999
script: |
100100
cd ~/sourcedepth.com
101101
docker compose down
102-
docker compose build --pull --no-cache
103-
docker compose up -d
102+
docker compose up --pull always -d
104103
docker system prune -f

.github/workflows/update-public.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- "public/**"
1313
- "mdx/**"
1414
- "nginx/nginx.conf"
15+
- "static/**"
1516
release:
1617
types: [published]
1718

0 commit comments

Comments
 (0)