fix: yaml syntax - remove heredoc
This commit is contained in:
@@ -56,15 +56,8 @@ jobs:
|
|||||||
pip install --break-system-packages internetarchive
|
pip install --break-system-packages internetarchive
|
||||||
# Try netrc auth
|
# Try netrc auth
|
||||||
mkdir -p ~/.config
|
mkdir -p ~/.config
|
||||||
echo "machine archive.org login $IA_EMAIL password $IA_PASSWORD" >> ~/.netrc
|
printf 'machine archive.org\nlogin %s\npassword %s\n' "$IA_EMAIL" "$IA_PASSWORD" > ~/.netrc
|
||||||
chmod 600 ~/.netrc
|
chmod 600 ~/.netrc
|
||||||
# Also try old-style config
|
|
||||||
mkdir -p ~/.config/internetarchive
|
|
||||||
cat > ~/.config/internetarchive/ia.ini << EOF
|
|
||||||
[Cookies]
|
|
||||||
email = $IA_EMAIL
|
|
||||||
password = $IA_PASSWORD
|
|
||||||
EOF
|
|
||||||
ISO=$(ls out/*.iso | head -1)
|
ISO=$(ls out/*.iso | head -1)
|
||||||
ia upload antergos-next "$ISO" \
|
ia upload antergos-next "$ISO" \
|
||||||
--metadata="title:Antergos NeXT Live ISO" \
|
--metadata="title:Antergos NeXT Live ISO" \
|
||||||
|
|||||||
Reference in New Issue
Block a user