Update README.md #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: TPP-SW | |
on: | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
sudo apt-get install imagemagick ghostscript exiftool gdal-bin python3-gdal | |
pip install bs4 tqdm numpy regex urllib3 glob2 elementpath pypdf | |
- name: Build TPP | |
run: | | |
python3 tpp.py SW | |
- name: Upload release | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SW_TPP | |
path: | | |
SW_TPP.zip | |
- name: SSH to mamba | |
uses: appleboy/scp-action@v0.1.7 | |
with: | |
host: apps4av.org | |
username: apps4av | |
password: ${{ secrets.MAMBA_PASSWORD }} | |
port: 22 | |
source: "SW_TPP.zip" | |
target: /home/apps4av/mamba.dreamhosters.com/new/staging |