mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 23:22:29 +01:00
e9bdc29c8c
* Bump electron version to 22.2.1 * Fix npm run electron command (needed the electron-packager-all command which I had removed) * Improve the npm run format command, no longer floods terminal with all file names * Updated start command to serve the built version of the game in .app * Remove some unused commands and unused workflows. Combined the ci and ci-pr workflows. * Modify check for generated files logic. Attempt to fix so it will edit its own comment instead of posting a new one on every commit.
34 lines
664 B
YAML
34 lines
664 B
YAML
name: "Deploy new pages build"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- uses: actions/upload-pages-artifact@v1
|
|
with:
|
|
path: ".app"
|
|
- name: Deploy to gh pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v1
|