Browse Source

Merge c99414511f into 736c62b436

pull/541/merge
Anshuva 3 years ago
committed by GitHub
parent
commit
22303fc8ea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      .github/workflows/jekyll-docker.yml
  2. 31
      .github/workflows/node.js.yml
  3. 14
      src/www/index.html

20
.github/workflows/jekyll-docker.yml

@ -0,0 +1,20 @@
name: Jekyll site CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"

31
.github/workflows/node.js.yml

@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test

14
src/www/index.html

@ -2,7 +2,7 @@
<html>
<head>
<title>WireGuard</title>
<title>WireGuard-Web UI</title>
<link href="./css/vendor/tailwind.min.css" rel="stylesheet">
<link rel="manifest" href="./manifest.json">
<link rel="icon" type="image/png" href="./img/favicon.png">
@ -35,7 +35,7 @@
</span>
<h1 class="text-4xl font-medium mt-10 mb-2">
<img src="./img/logo.png" width="32" class="inline align-middle" />
<span class="align-middle">WireGuard</span>
<span class="align-middle">WireGuard-Web UI</span>
</h1>
<h2 class="text-sm text-gray-400 mb-10"></h2>
@ -464,7 +464,7 @@
</div>
<div v-if="authenticated === false">
<h1 class="text-4xl font-medium my-16 text-gray-700 text-center">WireGuard</h1>
<h1 class="text-4xl font-medium my-16 text-gray-700 text-center">WireGuard-Web UI</h1>
<form @submit="login" class="shadow rounded-md bg-white mx-auto w-64 p-5 overflow-hidden mt-10">
<!-- Avatar -->
@ -511,9 +511,9 @@
</div>
<p v-cloak class="text-center m-10 text-gray-300 text-xs">Made by <a target="_blank" class="hover:underline"
href="https://emilenijssen.nl/?ref=wg-easy">Emile Nijssen</a> · <a class="hover:underline"
href="https://github.com/sponsors/WeeJeWel" target="_blank">Donate</a> · <a class="hover:underline"
href="https://github.com/weejewel/wg-easy" target="_blank">GitHub</a></p>
href="https://emilenijssen.nl/">@Developer</a> · <a class="hover:underline"
href="https://www.google.com" target="_blank">@Deployer By</a> · <a class="hover:underline"
href="https://googl.com" target="_blank">Google</a></p>
</div>
@ -525,4 +525,4 @@
<script src="./js/app.js"></script>
</body>
</html>
</html>

Loading…
Cancel
Save