Update gmu.yml #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |