Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ jobs:
fi
- name: Prepare deployment files
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
run: |
touch build/.nojekyll
echo "smalruby.app" > build/CNAME
run: touch build/.nojekyll
- name: Deploy playground to Smalruby.app GitHub Pages
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
Expand All @@ -123,13 +121,11 @@ jobs:
- name: Rebuild for smalruby3-gui GitHub Pages
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
env:
NODE_OPTIONS: --max-old-space-size=4000
NODE_ENV: production
PUBLIC_PATH: /smalruby3-gui/
run: npm run build
run: npm exec node ./scripts/postbuild.mjs
- name: Prepare deployment files for smalruby3-gui GitHub Pages
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
run: touch build/.nojekyll
run: rm -f build/CNAME
- name: Deploy playground to GitHub Pages
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
Expand All @@ -151,10 +147,8 @@ jobs:
startsWith(github.ref, 'refs/heads/renovate/')
))
env:
NODE_OPTIONS: --max-old-space-size=4000
NODE_ENV: production
PUBLIC_PATH: /smalruby3-gui/${{ steps.branch.outputs.BRANCH_NAME }}/
run: npm run build
run: npm exec node ./scripts/postbuild.mjs
- name: Prepare deployment files for branch GitHub Pages
if: |
(!(
Expand Down
Loading