Skip to content

Configure SSH key for website publishing #2

Configure SSH key for website publishing

Configure SSH key for website publishing #2

Workflow file for this run

name: wxPyWeb Publish
on:
push:
branches: ['master']
workflow_dispatch:
jobs:
publish-website:

Check failure on line 8 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build website
run: |
nikola build
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.RIOBU_SSH_KEY }}
known_hosts: ${{ secrets.RIOBU_KNOWN_HOSTS }}
config: |
Host wxpython-site
HostName riobu.com
User rbot.wxpython
- name: Publish website
run: |
nikola deploy