feat: blankstate on organization detail info tab (#1737) #727
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
name: Platform Stage | |
on: | |
push: | |
branches: [ main ] | |
# allow trigger manually | |
workflow_dispatch: | |
jobs: | |
login-and-run-commands: | |
name: Build and start on remote | |
runs-on: ubuntu-latest | |
env: | |
SUPABASE_ANON_KEY: ${{secrets.SUPABASE_ANON_KEY_STAGE}} | |
SUPABASE_URL: ${{secrets.SUPABASE_URL_STAGE}} | |
SESSION_SECRET: ${{secrets.SESSION_SECRET_STAGE}} | |
DATABASE_URL: ${{secrets.DATABASE_URL_STAGE}} | |
steps: | |
- name: executing remote ssh commands | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.HOST_STAGE }} | |
username: ${{ secrets.USERNAME_STAGE }} | |
passphrase: ${{ secrets.PASSPHRASE_STAGE }} | |
key: ${{ secrets.KEY_STAGE }} | |
port: ${{ secrets.PORT_STAGE }} | |
envs: SUPABASE_ANON_KEY,SUPABASE_URL,SESSION_SECRET,DATABASE_URL | |
script_stop: true | |
script: | | |
eval `ssh-agent` | |
ssh-add ~/.ssh/github-dk | |
cd repository/ | |
git pull | |
export NVM_DIR=~/.nvm | |
source ~/.nvm/nvm.sh | |
nvm use | |
npm install | |
npm run build | |
pm2 restart npm | |