fix refs to reactdom (#805) #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy website | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./website | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build docusaurus | |
run: npx docusaurus-write-translations | |
- name: Setting whoaim | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Website Deployment CI" | |
echo "machine github.com login davesnx password ${{ secrets.GH_TOKEN }}" > ~/.netrc | |
- name: Deploy docusaurus | |
run: GIT_USER="davesnx" USE_SSH=false npx docusaurus-publish |