Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed May 31, 2023
1 parent f579cd0 commit 259c6a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Want to add your own open-source project to this list? [Click here!](https://doc
* [Changing 2FA password](https://docs.madelineproto.xyz/docs/LOGIN.html#changing-2fa-password)
* [Features](https://docs.madelineproto.xyz/docs/FEATURES.html)
* [Requirements](https://docs.madelineproto.xyz/docs/REQUIREMENTS.html)
* [MadelineProto on Docker](https://docs.madelineproto.xyz/docs/DOCKER.html)
* [Installation](https://docs.madelineproto.xyz/docs/INSTALLATION.html)
* [Simple](https://docs.madelineproto.xyz/docs/INSTALLATION.html#simple)
* [Composer from existing project](https://docs.madelineproto.xyz/docs/INSTALLATION.html#composer-from-existing-project)
Expand Down
13 changes: 6 additions & 7 deletions tests/makephar.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash -e

# Configure
sed 's/;phar.readonly = On/phar.readonly = 0/g' -i /usr/local/etc/php/php.ini
echo >> /usr/local/etc/php/php.ini
echo 'phar.readonly = 0' >> /usr/local/etc/php/php.ini
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Expand Down Expand Up @@ -197,12 +198,10 @@ rm "madeline81.phar"
gh release edit --prerelease=false "$TAG"
gh release edit --latest=true "$TAG"

if [ "$DEPLOY_KEY" != "" ]; then
mkdir -p $HOME/.ssh
ssh-keyscan -t rsa github.com >> $HOME/.ssh/known_hosts
echo "$DEPLOY_KEY" > $HOME/.ssh/id_rsa
chmod 0600 $HOME/.ssh/id_rsa
fi
mkdir -p $HOME/.ssh
ssh-keyscan -t rsa github.com >> $HOME/.ssh/known_hosts
echo "$DEPLOY_KEY" > $HOME/.ssh/id_rsa
chmod 0600 $HOME/.ssh/id_rsa

git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "Github Actions"
Expand Down
1 change: 1 addition & 0 deletions tools/build_docs.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
'LOGIN',
'FEATURES',
'REQUIREMENTS',
'DOCKER',
'INSTALLATION',
'BROADCAST',
'UPDATES',
Expand Down

0 comments on commit 259c6a6

Please sign in to comment.