Skip to content

Commit

Permalink
change title
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni009 committed Jan 23, 2024
1 parent 8d7f873 commit eac6451
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 1 deletion.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

run-name: Build Code

on:
push:
branches: ['main']

permissions:
contents: write

concurrency:
group: "build"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Build App
run: |
npm ci
npm run build
cd dist
touch .nojekyll
- name: Minify Code
uses: Lenni009/minify-js@main
with:
directory: dist
overwrite: true

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.
25 changes: 25 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Build
run-name: Test Build

on:
pull_request:
types: [opened, synchronize]

concurrency:
group: "testbuild"
cancel-in-progress: true

jobs:
Build:
runs-on: ubuntu-latest

permissions:
pull-requests: write
contents: write

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Test Build
uses: Lenni009/test-build-vite-action@main
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
type="image/ico"
href="favicon.ico"
/>
<title>Lenni's websites</title>
<title>Eisvana Web Apps</title>
<style>
html,
body {
Expand Down

0 comments on commit eac6451

Please sign in to comment.