-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Add test for Debian 12
1 parent
efd717c
commit 65d88eb
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Deploy on Debian 12 | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Install Ant Media Server | ||
shell: bash | ||
run: | | ||
apt-get -y install wget which findutils which crontabs unzip | ||
curl -L -o ant-media-server-community.zip $(curl -s https://api.github.com/repos/ant-media/Ant-Media-Server/releases/latest | grep "browser_download_url" | cut -d '"' -f 4) | ||
bash ./install_ant-media-server.sh -i ant-media-server-community.zip -s false | ||
/usr/local/antmedia/antmedia start | ||
sleep 40 | ||
if [ $(cat /usr/local/antmedia/log/ant-media-server.log | grep "LiveApp started" | wc -l | xargs) -eq 0 ]; then | ||
echo "LiveApp started log does not exist. Check the logs above" | ||
exit 1; | ||
fi; |