1 parent
05f483490b
commit
d3bb0435b5
1 file changed
+2
-2
@@ -12,7 +12,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: content
|
path: content
|
||||||
- name: Clone repository
|
- name: Update repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://x-access-token:${GH_TOKEN}@github.com/craisined/public-notes-quartz.git
|
git clone https://x-access-token:${GH_TOKEN}@github.com/craisined/public-notes-quartz.git
|
||||||
rm -rf public-notes-quartz/content/*
|
rm -rf public-notes-quartz/content/*
|
||||||
@@ -26,6 +26,6 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
git commit -m "Update content"
|
git commit -m "Update content"
|
||||||
git push origin master
|
git push
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{secrets.GH_TOKEN}}
|
GH_TOKEN: ${{secrets.GH_TOKEN}}
|
||||||
Reference in new issue
Block a user