changed the interest form links to fall 2024 #122
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: Deploy to VPS | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Copy repository contents via scp | |
uses: appleboy/scp-action@master | |
env: | |
HOST: ${{ secrets.HOST }} | |
USERNAME: ${{ secrets.USERNAME }} | |
PORT: ${{ secrets.PORT }} | |
KEY: ${{ secrets.SSHKEY }} | |
with: | |
source: "." | |
target: "/osai-website/website-reboot" | |
- name: Executing remote commands | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.HOST }} | |
USERNAME: ${{ secrets.USERNAME }} | |
PORT: ${{ secrets.PORT }} | |
KEY: ${{ secrets.SSHKEY }} | |
script: | | |
cd /osai-website/website-reboot/frontend | |
export NVM_DIR=~/.nvm | |
source ~/.nvm/nvm.sh | |
yarn && yarn build | |
pm2 stop osai-website | |
pm2 del osai-website | |
pm2 start yarn --name osai-website -- start |