Skip to content

Commit

Permalink
ci: use content collections
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRoger committed Oct 24, 2024
1 parent ad682db commit b059736
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/vercel_deploy_preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Remove dumy post images
run: rm -rf ./blog/public/images/posts
- name: Remove dumy content
run: rm -rf ./blog/src/content
run: rm -rf ./blog/src/data

- name: Copy content
run:
|
mkdir ./blog/src/content
mv ./content/content/* ./blog/src/content/
mkdir ./blog/src/data
mv ./content/data/* ./blog/src/data/
- name: Copy post images
run:
|
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/vercel_deploy_production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- name: Remove dumy post images
run: rm -rf ./blog/public/images/posts
- name: Remove dumy content
run: rm -rf ./blog/src/content
run: rm -rf ./blog/src/data

- name: Copy content
run:
|
mkdir ./blog/src/content
mv ./content/content/* ./blog/src/content/
mkdir ./blog/src/data
mv ./content/data/* ./blog/src/data/
- name: Copy post images
run:
|
Expand Down

0 comments on commit b059736

Please sign in to comment.