Skip to content

Commit

Permalink
Merge pull request #59 from ananjaemin/58-favicon-icon-적용
Browse files Browse the repository at this point in the history
58 favicon icon 적용
  • Loading branch information
ananjaemin committed Nov 11, 2022
2 parents b70d693 + 4fa6fbb commit 5a97a4e
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PUBLIC_URL=/tempfiles-frontend
PUBLIC_URL= '/'
REACT_APP_BACKEND_BASEURL=http://localhost:5000
# dev - http://localhost:5000
# main - https://tfb.minpeter.cf
42 changes: 42 additions & 0 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Docker Image CI

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Nodejs
uses: actions/setup-node@v3
with:
node-version: 16

- name: Build
run: npm run build

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/tempfiles-frontend:latest
34 changes: 0 additions & 34 deletions .github/workflows/main.yml

This file was deleted.

7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM nginx:latest

COPY build /usr/share/nginx/html

EXPOSE 80

CMD nginx -g 'daemon off;'
41 changes: 9 additions & 32 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend",
"version": "0.1.0",
"homepage": "https://ananjaemin.github.io/tempfiles-frontend/",
"homepage": "https://tempfiles.ml/",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.4",
Expand Down Expand Up @@ -58,4 +58,4 @@
"prettier": "^2.7.1",
"react-scripts": "^5.0.1"
}
}
}
Binary file modified public/favicon.ico
Binary file not shown.

0 comments on commit 5a97a4e

Please sign in to comment.