Skip to content

Merge pull request #1 from hallipr/electron #27

Merge pull request #1 from hallipr/electron

Merge pull request #1 from hallipr/electron #27

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: windows-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: checkout
uses: actions/checkout@v3
with:
submodules: 'true'
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: npm ci
shell: bash
run: npm ci
- name: npm run build
shell: bash
run: npm run build
- name: upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist
- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v1
- name: upload electron artifact
uses: actions/upload-artifact@v2
with:
name: electron
path: ./dist_electron