rp_11009/.gitea/workflows/deploy.yaml
TJH 056884058b
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m6s
缅甸泰语在某些系统下错位问题的修改
2026-06-29 11:23:37 +08:00

38 lines
993 B
YAML

name: Gitea Actions Demo
on:
push:
tags: '*'
defaults:
run:
shell: bash
working-directory: /Users/mac/rp_games/rp_11009
jobs:
Explore-Gitea-Actions:
runs-on: mac-local
steps:
- name: update code
run: |
pwd
git pull
echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: npm i
run: |
echo 'npm i'
npm i
echo "✅ npm i done"
- name: build
run: |
echo 'build'
code=0
/Applications/CocosCreator/Creator/3.8.5/CocosCreator.app/Contents/MacOS/CocosCreator --project ./ --build "configPath=./buildConfig_web-mobile.json;" || code=$?
test $code -eq 36
- name: image compression
run: |
compress-imgs.sh -root ./build/web-mobile/
- name: upload
run: |
rsync -av --delete build/web-mobile/ zy@dou-dev:/data/rpgames-static/$(basename $PWD)