Skip to content

Commit

Permalink
posthog update
Browse files Browse the repository at this point in the history
  • Loading branch information
antonL95 committed Apr 21, 2024
1 parent 74170db commit 359acd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy_action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,12 @@ jobs:
port: ${{ matrix.server.port }}
envs: GITHUB_SHA,RELEASE_PATH,ACTIVE_RELEASE_PATH,STORAGE_PATH,BASE_PATH,ENV_SECRET
script: |
echo "$USER"
echo "$RELEASE_PATH"
cd $RELEASE_PATH && git clone git@github.com:antonL95/artistshero-laravel.git ./
cd $RELEASE_PATH && composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
cd $RELEASE_PATH && source $BASE_PATH/../.nvm/nvm.sh && npm install --no-progress && npm run build
rm -rf $RELEASE_PATH/storage
ln -s -f $STORAGE_PATH $RELEASE_PATH
ln -s -f ${BASE_PATH}/frankenphp $RELEASE_PATH
/usr/bin/php $RELEASE_PATH/artisan env:decrypt --key=$ENV_SECRET --env=production
mv $RELEASE_PATH/.env.production $RELEASE_PATH/.env
/usr/bin/php $RELEASE_PATH/artisan migrate --force
Expand Down

0 comments on commit 359acd6

Please sign in to comment.