File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Copy Demo to Extension
2+
3+ on :
4+ push :
5+ paths :
6+ - ' logojump/demo/**'
7+
8+ jobs :
9+ copy-files :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v3
14+
15+ - name : Copy all demo files except index.html
16+ run : |
17+ mkdir -p logojump/extension/
18+ rsync -av --exclude='index.html' logojump/demo/ logojump/extension/
19+
20+ - name : Commit and push changes
21+ run : |
22+ git config --global user.name "github-actions[bot]"
23+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
24+ git add logojump/extension/
25+ if ! git diff --cached --quiet; then
26+ git commit -m "Sync demo files to extension"
27+ git push
28+ else
29+ echo "No changes to commit"
You can’t perform that action at this time.
0 commit comments