uabrc / uabrc.github.io

UAB Research Computing Documentation
https://docs.rc.uab.edu
21 stars 12 forks source link

Fix warnings in CI #860

Open wwarriner opened 4 days ago

wwarriner commented 4 days ago

Fix or address the following warnings in CI.

Warning: /home/runner/miniconda3/lib/python3.12/argparse.py:2006: FutureWarning: `remote_definition` is deprecated and will be removed in 25.9. Use `conda env create --file=URL` instead.
Warning: The 'defaults' channel might have been added implicitly. If this is intentional, add 'defaults' to the 'channels' list. Otherwise, consider setting 'conda-remove-defaults' to 'true'.
wwarriner commented 1 day ago

In order to do this, we either have to use custom scripts or move away from gh-pages branch deployment. One of our steps is outdated, has issues disabled on the repo, and hasn't been touched in years.

The new method will use official GitHub actions that are widely used and supported, and avoid the insecurity of the gh-pages branch deployment method.