Skip to content

docs(readme): add social links and donations, update links #36

docs(readme): add social links and donations, update links

docs(readme): add social links and donations, update links #36

Workflow file for this run

name: build
on:
push:
branches:
- v2_new_frontend
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: cd frontend && bun install
- name: Run Prettier
run: cd frontend &&bun run format
- name: Run ESLint
run: cd frontend && bun run lint
deploy:
runs-on: ubuntu-latest
needs: lint-and-format
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deploy to server
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }} "git config --global --add safe.directory ${{ secrets.SERVER_PATH }} &&cd ${{ secrets.SERVER_PATH }} && git pull && docker-compose down && docker-compose up -d --build"