Skip to content

Updates for zoom workplace single-monitor mode. #75

Updates for zoom workplace single-monitor mode.

Updates for zoom workplace single-monitor mode. #75

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install OS dependencies
# compiler needed for simpleaudio
run: |
sudo apt-get install build-essential libasound2-dev python3-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
#- name: Build zipapp applicaiton
# run: |
# set -x
# bash make-zip-app.sh
# mkdir -p _site/
# rsync -a obs-cr.pyz _site/
- name: Copy website
run: |
mkdir -p _site/
rsync -a --copy-unsafe-links CNAME web/ _site/
- uses: actions/upload-pages-artifact@main
with:
path: _site/
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: github-pages
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action