Skip to content

Commit

Permalink
Docs deploy workflow - Fixed GIT_USER and deploy script. (#3475)
Browse files Browse the repository at this point in the history
* Fixed node-version in node setup

* Added git user to the workflow

* eof

* fixed order of commands
  • Loading branch information
nitzanyiz authored Dec 31, 2024
1 parent 58fa4db commit 73c5ea8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deployDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write # Needed for pushing to gh-pages

steps:
- name: Checkout repository
Expand All @@ -26,7 +28,13 @@ jobs:
run: yarn docs:build

- name: Deploy documentation
env:
GIT_USER: github-actions[bot]
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}

run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
cd docuilib
yarn install
yarn deploy

0 comments on commit 73c5ea8

Please sign in to comment.