Skip to content

Re-Write of snake.bas #12

Re-Write of snake.bas

Re-Write of snake.bas #12

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags: '*'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Build documents
run: python docs/make_docs.py
- name: Upload as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: docs/output/
# Deployment job
deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4