Fix links #18
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: 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 }} |