- name: Setup Node.js uses: actions/setup-node@v3 with: node-version: '18' - name: Install Dependencies run: npm install - name: Build Game Assets run: npm run build_webgl - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build/webgl
By leveraging for free hosting and GitHub Actions for the "Build Now" automation, you remove the barriers of traditional web hosting. No more FTP clients. No more shared hosting cPanel. Just git push and you are live. build now gg github io
name: Build Now GG on: push: branches: [ "main" ] - name: Setup Node