update dev changelog #334
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 Site | |
on: | |
push: | |
branches: [ main ] | |
env: | |
SSH_USER: "${{ vars.DEPLOY_SSH_USER }}" | |
SSH_HOST: "${{ secrets.DEPLOY_SSH_HOST }}" | |
PILOTMOON_API_KEY: "${{ secrets.PILOTMOON_API_KEY }}" | |
GH_API_KEY: "${{ secrets.GH_API_KEY }}" | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '18' | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run docs:build-ci | |
- name: Install SSH Key | |
uses: shimataro/[email protected] | |
with: | |
key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} | |
known_hosts: ${{ secrets.DEPLOY_SSH_KNOWN_HOSTS }} | |
- name: Deploy | |
run: ./deploy | |