Merge pull request #369 from kabrunko-dev/i18n-ptbr #255
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: 'docs' | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} | |
- name: Install dependencies | |
run: npm i | |
- name: Build docs | |
run: npm run build:docs | |
- name: Identity | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "NetanelBasal" | |
- name: Release to GitHub Pages | |
env: | |
USE_SSH: true | |
GIT_USER: NetanelBasal | |
run: npm run deploy --prefix docs |