added an action
This commit is contained in:
parent
eaeac63ef3
commit
472d236984
1 changed files with 25 additions and 0 deletions
25
.forgejo/workflows/deploy-ui.yml
Normal file
25
.forgejo/workflows/deploy-ui.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
name: Deploy UI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'clio-ui/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: native
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Deploy UI files
|
||||||
|
run: |
|
||||||
|
mkdir -p /work/hosting/clio/clio-ui
|
||||||
|
rsync -av --delete \
|
||||||
|
./clio-ui/ \
|
||||||
|
/work/hosting/clio/clio-ui/
|
||||||
|
|
||||||
|
- name: Verify deployment
|
||||||
|
run: ls -la /work/hosting/clio/clio-ui/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue