-
Notifications
You must be signed in to change notification settings - Fork 2
executable file
·26 lines (24 loc) · 1.16 KB
/
kids-team.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This workflow runs composer and deploys the theme on a server
name: Deploy on kids-team Server
on: [push, workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm run build
- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -avzr --delete --exclude .git --exclude .github --exclude package.json --exclude package-lock.json --exclude .gitignore --exclude .eslintrc.js --exclude .eslintignore --exclude .prettierrc --exclude DOCKER_ENV --exclude docker_tag --exclude output.log
path: /
remote_path: ${{ secrets.ALLINCL_PATH }}
remote_host: ${{ secrets.ALLINCL_SERVER }}
remote_user: ${{ secrets.ALLINCL_USER }}
remote_key: ${{ secrets.ALLINCL_KEY }}