Skip to content

Commit 16f4552

Browse files
authored
Update jekyll-build.yml
1 parent 5f252b2 commit 16f4552

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/jekyll-build.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ jobs:
1111
build-deploy:
1212
runs-on: ubuntu-16.04
1313
steps:
14-
- name: Checkout repo
15-
uses: actions/checkout@v2
16-
- name: Clone Github Repo Action
14+
- name: Clone Jekyll Repo
1715
# You may pin to the exact commit or the version.
1816
# uses: GuillaumeFalourd/clone-github-repo-action@d667f8c39e6ac1dd5309ad51b0020657c7a1a296
1917
uses: GuillaumeFalourd/clone-github-repo-action@v1
@@ -22,15 +20,22 @@ jobs:
2220
owner: JimmyLv
2321
# Repository name
2422
repository: jekyll-blog
23+
- name: Clone _posts Repo
24+
# You may pin to the exact commit or the version.
25+
# uses: GuillaumeFalourd/clone-github-repo-action@d667f8c39e6ac1dd5309ad51b0020657c7a1a296
26+
uses: GuillaumeFalourd/clone-github-repo-action@v1
27+
with:
28+
# Repository Owner
29+
owner: JimmyLv
30+
# Repository name
31+
repository: jimmylv.github.io
2532
- name: Show Files
2633
run: |
2734
pwd
2835
ls
29-
ls ..
30-
ls ...
3136
- name: Move Files
3237
run: |
33-
mv ../jimmylv.github.io/** _posts
38+
mv jimmylv.github.io/** jekyll-blog/_posts
3439
3540
- name: Get cached gems
3641
uses: actions/cache@v2

0 commit comments

Comments
 (0)