mirror of https://github.com/folke/lazy.nvim.git
ci: tmp dir
This commit is contained in:
parent
f2da9842ea
commit
7d1cd6b519
|
@ -44,6 +44,7 @@ jobs:
|
||||||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||||
|
|
||||||
sync-docs:
|
sync-docs:
|
||||||
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -54,9 +55,9 @@ jobs:
|
||||||
|
|
||||||
- name: Copy docs and README.md
|
- name: Copy docs and README.md
|
||||||
run: |
|
run: |
|
||||||
mkdir -p temp-docs
|
mkdir -p /tmp/temp-docs
|
||||||
cp -r doc/ temp-docs/
|
cp -r doc/ temp-docs/
|
||||||
cp README.md temp-docs/
|
cp README.md /tmp/temp-docs/
|
||||||
|
|
||||||
- name: Checkout main branch
|
- name: Checkout main branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -65,8 +66,8 @@ jobs:
|
||||||
|
|
||||||
- name: Copy to main branch
|
- name: Copy to main branch
|
||||||
run: |
|
run: |
|
||||||
cp -r temp-docs/doc/ .
|
cp -r /tmp/temp-docs/doc/ .
|
||||||
cp temp-docs/README.md .
|
cp /tmp/temp-docs/README.md .
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue