🎨 Add custom CSS

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-08-09 13:10:25 +01:00
4 changed files with 24 additions and 6 deletions

View File

@@ -4,16 +4,35 @@ on:
branches: main
jobs:
deploy:
docker-dh:
name: Push to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Build image
- name: Build image for Docker Hub
run: docker build . --file Dockerfile --tag luketainton/fhed:latest
- name: Push image
- name: Push image to Docker Hub
run: docker push luketainton/fhed:latest
docker-ghr:
name: Push to GitHub Package Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to DockerHub Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u luketainton --password-stdin
- name: Build image for GitHub Package Registry
run: docker build . --file Dockerfile --tag docker.pkg.github.com/luketainton/fhed/fhed:latest
- name: Push image to GitHub Package Registry
run: docker push docker.pkg.github.com/luketainton/fhed/fhed:latest
deploy:
name: Update Docker image on server
runs-on: ubuntu-latest
needs: [docker-dh]
steps:
- name: Update image on server
uses: garygrossgarten/github-action-ssh@release
with:

View File

@@ -63,4 +63,3 @@ code {
footer p {
margin-bottom: .25rem;
}

View File

@@ -47,7 +47,7 @@
<?php if (is_signed_in()) { ?>
<section>
<div class="card mx-auto" style="width: 80%;">
<div class="card mx-auto" style="width: 80%;margin-bottom: 50px;">
<div class="card-header">
<span class="mdi mdi-ticket-outline"></span> My Open Requests
</div>

View File

@@ -82,7 +82,7 @@
</section>
<section>
<div class="card mx-auto" style="width: 50%;">
<div class="card mx-auto" style="width: 50%;margin-bottom: 50px;">
<form style="padding: 2%" action="/new" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="title">Title: </label>