Merge pull request #865 from johnpapa/patch-2 #214
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 CLI docs | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build_and_deploy_job: | |
runs-on: ubuntu-latest | |
name: Build and Deploy Job | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git config --global user.email "[email protected]" | |
- run: git config --global user.name "Wassim Chegham" | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: '18.x' | |
- name: "deploy docs" | |
run: | | |
cd docs/www/ | |
npm ci | |
npm run deploy | |
env: | |
GIT_PASS: ${{ secrets.SWA_CLI_DEPLOY_DOCS_GH_PAGES }} | |
GIT_USER: "manekinekko" |