Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
giles | faa4504cf6 | |
giles | adc0a4ffa4 | |
giles | 56337bda5f | |
giles | 608e0f6482 | |
giles | 25f2f9eed3 | |
gilesb | 7451f65032 | |
gilesb | 1685e75a97 | |
gilesb | 04839708ea | |
gilesb | 80adb8ecc5 | |
gilesb | 2161934e5b |
|
@ -59,6 +59,9 @@ jobs:
|
||||||
node-version: '20.9.0'
|
node-version: '20.9.0'
|
||||||
- run: git checkout -b ${{ github.head_ref }}
|
- run: git checkout -b ${{ github.head_ref }}
|
||||||
- run: git pull origin ${{ github.head_ref }}
|
- run: git pull origin ${{ github.head_ref }}
|
||||||
|
- id: get-head-commit-title
|
||||||
|
name: get-title
|
||||||
|
run: echo "title=$(git log --format=%B -n 1 HEAD | head -n 1)" >> $GITHUB_OUTPUT
|
||||||
- run: rm -rf document
|
- run: rm -rf document
|
||||||
- run: mkdir document
|
- run: mkdir document
|
||||||
- uses: https://sigyl.com:3001/actions/ft-view-screen-document@main
|
- uses: https://sigyl.com:3001/actions/ft-view-screen-document@main
|
||||||
|
@ -85,7 +88,7 @@ jobs:
|
||||||
if: steps.has-changes.outputs.changes == 'true'
|
if: steps.has-changes.outputs.changes == 'true'
|
||||||
run: |
|
run: |
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "documented ${{ github.event.head_commit.message }}"
|
git commit -a -m "documented ${{ steps.get-head-commit-title.outputs.title }}"
|
||||||
git push origin HEAD
|
git push origin HEAD
|
||||||
exit 1
|
exit 1
|
||||||
schema:
|
schema:
|
||||||
|
|
|
@ -57,8 +57,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
# fetch-depth: '1'
|
# fetch-depth: '1'
|
||||||
- id: get_head_commit_title
|
- id: get-head-commit-title
|
||||||
|
name: get-title
|
||||||
run: echo "title=$(git log --format=%B -n 1 HEAD | head -n 1)" >> $GITHUB_OUTPUT
|
run: echo "title=$(git log --format=%B -n 1 HEAD | head -n 1)" >> $GITHUB_OUTPUT
|
||||||
|
- run: echo ${{ steps.get-head-commit-title.outputs.title }}
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.9.0'
|
node-version: '20.9.0'
|
||||||
|
@ -90,7 +92,7 @@ jobs:
|
||||||
if: steps.has-changes.outputs.changes == 'true'
|
if: steps.has-changes.outputs.changes == 'true'
|
||||||
run: |
|
run: |
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "documented ${{ steps.get-commit-title.outputs.text }}"
|
git commit -a -m "documented ${{ steps.get-head-commit-title.outputs.title }}"
|
||||||
git push origin HEAD
|
git push origin HEAD
|
||||||
exit 1
|
exit 1
|
||||||
schema:
|
schema:
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
## animated
|
## animated
|
||||||
|
|
||||||
### Button1
|
### Buttonqqq1
|
||||||
|
|
||||||
*button*
|
*button*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue