Skip to content

Update documentation to nyxx 6.0.0 (#12) #15

Update documentation to nyxx 6.0.0 (#12)

Update documentation to nyxx 6.0.0 (#12) #15

Workflow file for this run

name: deploy docs
on:
push:
branches:
- main
jobs:
docs-deploy:
name: Deploy docs to webpage
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.13]
env:
NODE_ENV: production
PROD_URL: ${{ secrets.PROD_URL }}
REPO_NAME_PROD: ${{ secrets.REPO_NAME_PROD }}
REPO_BRANCH_NAME: ${{ secrets.REPO_BRANCH_NAME }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Pnpm
uses: pnpm/[email protected]
with:
version: 6.32.3
- name: Cache
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}
- name: Use Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build project
run: pnpm build
- name: Deploy nyxx dev docs
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_SERVER_KEY }}
ARGS: '-rltDzvO'
SOURCE: 'build/'
REMOTE_HOST: ${{ secrets.DEPLOY_REMOTE_HOST }}
REMOTE_USER: ${{ secrets.DEPLOY_REMOTE_USER }}
TARGET: '${{ secrets.DEPLOY_REMOTE_TARGET }}/'