Skip to content

Commit

Permalink
Add test for Debian 12
Browse files Browse the repository at this point in the history
muratugureminoglu committed Nov 19, 2024
1 parent efd717c commit 65d88eb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/actions/deploy-debian-12/action.yaml
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;

0 comments on commit 65d88eb

Please sign in to comment.