Skip to content

Commit

Permalink
Create pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kataglyphis authored Jul 16, 2024
1 parent 8cb12c0 commit 42ac3af
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Deploy web page with sphinx

on:
push:
branches: [ "main" ]

jobs:
build:
name: 🚀 Deploy website on push
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/[email protected]
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: "3.11"
# You can test your matrix by printing the current Python version
- name: Setup python env
run: |
pip install -v -e .
- name : Build web page
run: |
cd docs/build
make html
- name: 📂 Sync files to domain
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.SERVER }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.DEV_PW }}
local-dir: "./docs/build/html/"

0 comments on commit 42ac3af

Please sign in to comment.