Skip to content

Commit

Permalink
New initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkar598 committed Jun 20, 2024
0 parents commit 2e5236b
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy code

on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Upgrade NPM
run: npm install -g npm

- name: Install NPM Dependencies
run: npm ci

- name: Create iso placeholder
run: touch rootfs.iso9660

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: dist

deploy:
needs: build

permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist/
node_modules/
*.tsbuildinfo
rootfs.iso9660

0 comments on commit 2e5236b

Please sign in to comment.