Skip to content

Implement initial GitHub Action for deploying website #1

Implement initial GitHub Action for deploying website

Implement initial GitHub Action for deploying website #1

Workflow file for this run

name: wxPyWeb Publish
on:
push:
branches: ['master']
workflow_dispatch:
jobs:
publish-website:
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: Publish website
run: |
nikola deploy