Skip to content

Commit

Permalink
ci: fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SrIzan10 committed Sep 21, 2024
1 parent 65e6802 commit 558ca18
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -15,11 +17,10 @@ jobs:
- run: corepack enable yarn
- run: yarn install
- run: git checkout -b typedoc
- run: git push --set-upstream origin typedoc
- run: yarn typedoc
- run: git add .
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- uses: actions4git/add-commit-push@v1
with:
commit-message: 'Update typedoc to commit ${{ steps.vars.outputs.sha_short }}'
- run: git commit -m "Update typedoc to commit ${{ steps.vars.outputs.sha_short }}"
- run: git push --set-upstream origin typedoc
- run: yarn typedoc

0 comments on commit 558ca18

Please sign in to comment.