Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
tar -xf $HOME/public_html.tar -C $HOME/${{ secrets.SITE_PATH }}/
rm $HOME/public_html.tar
cd $HOME/${{ secrets.SITE_PATH }}
sed -i 's/"name": *".*"/"name": "${{ secrets.USERNAME }}"/' package.json
sed -i 's/"name": *".*"/"name": "${{ vars.DOMAIN || 'liquid.prismify.in' }}"/' package.json
npm install
npm run build

if ! command -v pm2 &> /dev/null; then
echo 'export PATH=/usr/lib/ispnodejs/bin:$PATH' >> $HOME/.bashrc
source $HOME.bashrc
fi
pm2 restart ${{ secrets.USERNAME }}
pm2 restart ${{ vars.DOMAIN || 'liquid.prismify.in' }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@

# https://liquid.prismify.in