This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
Add send custom email to contact by API #53
Workflow file for this run
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: Build developer docs (and deploy on push) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.3.1 | |
bundler-cache: true | |
- name: install deps | |
run: bundle install | |
- name: build docs | |
run: bundle exec middleman build | |
- name: deploy docs | |
if: ${{ github.event_name == 'push' }} | |
run: bundle exec middleman deploy | |
env: | |
SSH_HOST: ${{ secrets.SSH_HOST }} | |
SSH_DEPLOYMENT_PATH: ${{ secrets.SSH_PATH }} | |
SSH_USER: ${{ secrets.SSH_USER }} | |
SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }} |