Weather CI #23801
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
name: Weather CI | |
on: | |
schedule: | |
- cron: '*/7 * * * *' | |
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 gdal-bin python3-gdal imagemagick python3-bs4 libwww-perl libxml-parser-perl | |
pip install regex urllib3 | |
- name: Build weather | |
run: | | |
cd extra/mamba && ./put_tenmin.sh | |
- name: SSH to mamba | |
uses: appleboy/[email protected] | |
with: | |
host: apps4av.org | |
username: apps4av | |
password: ${{ secrets.MAMBA_PASSWORD }} | |
port: 22 | |
strip_components: 2 | |
source: "extra/mamba/TFRs.zip,extra/mamba/weather.zip,extra/mamba/conus.zip" | |
target: /home/apps4av/mamba.dreamhosters.com/new |