Skip to content

Commit

Permalink
Update build-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NEOLabs-software authored Nov 6, 2024
1 parent 5c7486e commit 6402363
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ jobs:
- name: Upload ISO files to SourceForge and update on Mega
run: |
echo "Uploading files to FTP..."
cd isodir
cd ..
for file in isodir/*; do
sshpass -p ${{ secrets.FTP_PASSWORD }} sftp ${{ secrets.FTP_USERNAME }}'@'${{ secrets.FTP_SERVER }} <<< $"put $file /home/pfs/project/exelentos/andromeda-reborn/$(basename $file)"
cd isodir
bash ./scripts/mega.sh ${{ secrets.MEGA_EMAIL }} '${{ secrets.FTP_PASSWORD }}' /andromeda-reborn/ $(basename $file)
bash ../scripts/mega.sh ${{ secrets.MEGA_EMAIL }} '${{ secrets.FTP_PASSWORD }}' /andromeda-reborn/ $(basename $file)
cd ..
done

0 comments on commit 6402363

Please sign in to comment.