fix: note for flex-managed properties (#10) #41
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
on: | |
push: | |
branches: | |
- main | |
jobs: | |
on-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
cache-dependency-path: 'ex0/package-lock.json' | |
- run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
cd ex0 | |
zip -r ../mdc.tutorial.zip ./ -x 'readme.md' -x '*.png' | |
cd ../ | |
git add mdc.tutorial.zip | |
git commit -m "update mdc.tutorial.zip" | |
mkdir tmp | |
cp ex0/*.json ex0/ui5.yaml tmp | |
cd tmp | |
npm i | |
mkdir webapp | |
for dir in ../ex*/; do | |
cp -r "$dir"/webapp/* ./webapp | |
npm run build | |
mv dist "$dir" | |
rm -rf webapp/* | |
done | |
cd ../ | |
git add ex* | |
git commit -m "update ghpages" | |
git push -f origin main:ghpages |