Skip to content

Update webpack.config.js #6

Update webpack.config.js

Update webpack.config.js #6

Workflow file for this run

name: Publish
on:
push:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Clone Repository
run: |
git clone https://github.com/NullClock/CubicIDE-gui
- name: Build & Set CNAME
run: |
cd CubicIDE-gui
npm i
npm run build
cd build
touch ./CNAME
echo "ide.xcore.tk" > CNAME
cd ..
cd ..
- name: Deploy
uses: crazy-max/[email protected]
with:
build_dir: CubicIDE-gui/build
target_branch: gh-pages
verbose: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}