ci: switch over to using forgejo actions
This commit is contained in:
parent
b3d2b83fed
commit
d05ec2f214
12 changed files with 80 additions and 71 deletions
|
@ -3,7 +3,7 @@
|
|||
root="$PWD"
|
||||
|
||||
folder_html="html_minutes"
|
||||
folder_pdf="pdf_Minutes"
|
||||
folder_pdf="pdf_minutes"
|
||||
|
||||
# make teh html files first
|
||||
function build_html() {
|
||||
|
@ -40,14 +40,14 @@ function build_html() {
|
|||
rm -f .md.toml
|
||||
|
||||
# create teh new folders where stuff is going to
|
||||
mkdir -p "../../$folder_html/$year/Committee"
|
||||
mkdir -p "../../$folder_html/$year/Council"
|
||||
mkdir -p "../../$folder_html/${year}committee"
|
||||
mkdir -p "../../$folder_html/${year}council"
|
||||
|
||||
# iterate the files
|
||||
for file in {Committee,Council}_html/*.html; do
|
||||
for file in {committee,council}_html/*.html; do
|
||||
if [ -f "$file" ]; then
|
||||
stripped=''${file/_html/""}
|
||||
cp $file "../../$folder_html/$year/$stripped"
|
||||
cp $file "../../$folder_html/${year}$stripped"
|
||||
fi
|
||||
done
|
||||
# the temp folders where teh html was created, leaving these could cause ghost artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue