parent
be59c826bd
commit
9065ee59f4
1 changed files with 5 additions and 0 deletions
|
|
@ -12,14 +12,19 @@ jobs:
|
||||||
- /var/www/bubo:/var/www/bubo
|
- /var/www/bubo:/var/www/bubo
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install rsync
|
- name: Install rsync
|
||||||
run: apt-get update && apt-get install -y rsync
|
run: apt-get update && apt-get install -y rsync
|
||||||
|
|
||||||
- name: Build Bubo
|
- name: Build Bubo
|
||||||
run: npm run build:bubo
|
run: npm run build:bubo
|
||||||
|
|
||||||
- name: List built files
|
- name: List built files
|
||||||
run: ls -la ./public/
|
run: ls -la ./public/
|
||||||
|
|
||||||
- name: Deploy to web root
|
- name: Deploy to web root
|
||||||
run: |
|
run: |
|
||||||
rsync -avz --delete --exclude='.git' --exclude='.forgejo' \
|
rsync -avz --delete --exclude='.git' --exclude='.forgejo' \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue