fix: center loading spinners (#98) #62
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: (re)-deploy backend | |
on: | |
push: | |
branches: | |
- master | |
# Let's do this via a docker container in the future, this is pretty ugly. | |
jobs: | |
deploy: | |
name: (Re)-Deploy backend | |
runs-on: ubuntu-latest | |
steps: | |
- name: update deployment | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.DEPLOY_SSH_HOST }} | |
username: ${{ secrets.DEPLOY_SSH_USERNAME }} | |
password: ${{ secrets.DEPLOY_SSH_PASSWORD }} | |
port: ${{ secrets.PORT }} | |
# TODO: lets move the cd into working-directory | |
script: | | |
cd ${{ secrets.DEPLOY_SSH_REPO_DIRECTORY}} | |
git pull | |
cd backend/ | |
pnpm i | |
pnpm build | |
pnpm start:prod |