-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1012 Bytes
/
render.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Render
on:
workflow_dispatch:
push:
branches:
- main
- publish-*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: '2.x'
- name: Install Bundler
run: gem install bundler
- name: Setup
run: make -C .render distclean build-tools
- name: Build site
run: make -C .render build
- name: Upload site
run: make -C .render upload
env:
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_USER: ${{ secrets.SSH_USER }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}