Skip to content

Document MAILER_ENABLE_SSL #93

Document MAILER_ENABLE_SSL

Document MAILER_ENABLE_SSL #93

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
BASE_URL: https://keila.io
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.npm
./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- uses: actions/[email protected]
with:
node-version: 15
- run: |
npm ci
npm run generate
mkdir ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.KNOWN_HOSTS }}" > ~/.ssh/known_hosts
chmod 600 ~/.ssh/*
rsync -avz ./dist/ "${{ secrets.DEPLOY_TARGET }}"