Skip to content

Commit

Permalink
prettify stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev committed Jul 20, 2024
1 parent 67bdcf8 commit b8cb4ce
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 32 deletions.
File renamed without changes.
31 changes: 15 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,44 @@
name: Docker

on:
push: {}
workflow_dispatch: {}
push:
branches: [main]

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push:
name: Build and Push
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Registry Login
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Metadata
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and Push Image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Upload
run: curl -X POST -d 'param1=value1&param2=value2' ${{ secrets.WEBHOOK }}
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# owl
An attempt to remove users personal info from Public
# Owl Data Service
Securing user privacy by converting their data into a secure format.

## Maintainers
- [@andrewstech](https://github.com/andrewstech) - Lead Developer
- [@wdhdev](https://github.com/wdhdev) - Developer
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "owlv3",
"name": "owl",
"version": "1.0.0",
"description": "An attempt to remove users personal info from Public",
"description": "Securing user privacy by converting their data into a secure format.",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "npm start"
},
"keywords": [],
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
Expand Down
6 changes: 3 additions & 3 deletions views/id.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<body>
<div class="min-h-screen bg-gray-900 flex justify-center items-center">
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
<h1 class="text-3xl mb-6 flex items-center justify-center"><i class="fas fa-sign-in-alt mr-2"></i> DATA SERVICE</h1> <!-- Use Font Awesome icon -->
<h1 class="text-3xl mb-6 flex items-center justify-center"><i class="fas fa-sign-in-alt mr-2"></i> Data Service</h1> <!-- Use Font Awesome icon -->

<% if (message && message.length > 0) { %>
<div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative" role="alert">
Expand All @@ -20,11 +20,11 @@
</div>
<% } %>

<h2 class="mb-4">This is your unique ID for both Is-a.dev and Open-Domains</h2>
<h2 class="mb-4">This is your unique ID for both is-a.dev and Open Domains.</h2>
<textarea class="w-full h-64 p-2 border border-gray-300 rounded" id="data" name="data" disabled><%= token %></textarea>
<hr class="my-6">

<p class="text-gray-700 text-center">© OPEN-DOMAINS & IS-A.DEV</p>
<p class="text-gray-700 text-center">&copy; <script>document.write(new Date().getFullYear())</script> is-a.dev & Open Domains</p>
</div>
</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<div class="min-h-screen bg-gray-900 flex justify-center items-center">
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
<h1 class="text-3xl mb-6 flex items-center justify-center"><span class="fa fa-sign-in mr-2"></span> DATA SERVICE</h1>
<h1 class="text-3xl mb-6 flex items-center justify-center"><span class="fa fa-sign-in mr-2"></span> Data Service</h1>

<% if (message && message.length > 0) { %>
<div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative" role="alert">
Expand All @@ -24,7 +24,7 @@
</div>
<hr class="my-6">

<p class="text-gray-700">© OPEN-DOMAINS & IS-A.DEV</p>
<p class="text-gray-700">&copy; <script>document.write(new Date().getFullYear())</script> is-a.dev & Open Domains</p>
</div>
</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions views/profile.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<body>
<div class="min-h-screen bg-gray-900 flex justify-center items-center">
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
<h1 class="text-3xl mb-6 flex items-center justify-center"><span class="fa fa-sign-in mr-2"></span> DATA SERVICE</h1>
<h1 class="text-3xl mb-6 flex items-center justify-center"><span class="fa fa-sign-in mr-2"></span> Data Service</h1>

<% if (message && message.length > 0) { %>
<div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative" role="alert">
Expand Down Expand Up @@ -46,7 +46,7 @@

<hr class="my-6">

<p class="text-gray-700">© OPEN-DOMAINS & IS-A.DEV</p>
<p class="text-gray-700">&copy; <script>document.write(new Date().getFullYear())</script> is-a.dev & Open Domains</p>
</div>
</div>
</body>
Expand Down

0 comments on commit b8cb4ce

Please sign in to comment.