Skip to content

fix: add documentation branch to list of branches in ci #14

fix: add documentation branch to list of branches in ci

fix: add documentation branch to list of branches in ci #14

Workflow file for this run

name: Deploy to GitHub Pages

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

(Line: 20, Col: 12): Unexpected value 'ubuntu-latest', (Line: 23, Col: 5): A sequence was not expected
on:
push:
branches:
- main
- documentation
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to VPS via SSH
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: ${{ secrets.SERVER_PORT }}
script: |
cd /opt/website/
git pull origin main
bun run build
pm2 restart website