From 2e5236bf1b93847c2cf68144e2ec953c0acae474 Mon Sep 17 00:00:00 2001 From: alexkar598 <25136265+alexkar598@users.noreply.github.com> Date: Wed, 19 Jun 2024 23:01:18 -0400 Subject: [PATCH] New initial commit --- .github/workflows/deploy.yml | 50 ++++++++++++++++++++++++++++++++++++ .gitignore | 4 +++ 2 files changed, 54 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 .gitignore diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..9b22cce --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7bf2d20 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +dist/ +node_modules/ +*.tsbuildinfo +rootfs.iso9660 \ No newline at end of file