Compare commits
1 Commits
npm-update
...
update-par
| Author | SHA1 | Date | |
|---|---|---|---|
| ca0fc49830 |
2
.github/workflows/actions.yml
vendored
2
.github/workflows/actions.yml
vendored
@@ -72,7 +72,7 @@ jobs:
|
|||||||
|
|
||||||
Deploy:
|
Deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: Build_x86
|
needs: Build_ARM64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Run Ansible playbook
|
- name: Run Ansible playbook
|
||||||
|
|||||||
4
.github/workflows/snyk-container.yml
vendored
4
.github/workflows/snyk-container.yml
vendored
@@ -14,9 +14,13 @@
|
|||||||
name: Snyk Container
|
name: Snyk Container
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
schedule:
|
||||||
|
- cron: '18 21 * * 3'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
10
Dockerfile
10
Dockerfile
@@ -1,10 +1,7 @@
|
|||||||
FROM node:18.10.0 AS base
|
FROM node:18.4.0 AS base
|
||||||
LABEL version="4.1.0"
|
LABEL version="4.1.0"
|
||||||
LABEL description=""
|
LABEL description=""
|
||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY ["package.json", "./"]
|
COPY ["package.json", "./"]
|
||||||
COPY ["yarn.lock", "./"]
|
COPY ["yarn.lock", "./"]
|
||||||
@@ -14,10 +11,7 @@ RUN yarn install
|
|||||||
COPY ["src/", "./src"]
|
COPY ["src/", "./src"]
|
||||||
RUN npm run Prod
|
RUN npm run Prod
|
||||||
|
|
||||||
FROM nginx:1.23.1-alpine as Web
|
FROM nginx:1.23.0-alpine as Web
|
||||||
|
|
||||||
RUN apk --update --no-cache upgrade
|
|
||||||
|
|
||||||
LABEL maintainer="Phoenix (https://github.com/HotaruBlaze)"
|
LABEL maintainer="Phoenix (https://github.com/HotaruBlaze)"
|
||||||
COPY docker/nginx.conf /etc/nginx/nginx.conf
|
COPY docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY docker/web.conf /etc/nginx/conf.d/web.conf
|
COPY docker/web.conf /etc/nginx/conf.d/web.conf
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
fluttershub.com:
|
fluttershub.com:
|
||||||
image: ghcr.io/fluttershub/homepage:x64-latest
|
image: ghcr.io/fluttershub/homepage:arm64-latest
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external
|
||||||
|
|||||||
11
package.json
11
package.json
@@ -7,7 +7,7 @@
|
|||||||
"author": "HotaruBlaze",
|
"author": "HotaruBlaze",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@github.com:Fluttershub/Homepage.git"
|
"url": "git@github.com:github/Fluttershub.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinit": "npx npm-force-resolutions",
|
"preinit": "npx npm-force-resolutions",
|
||||||
@@ -17,9 +17,12 @@
|
|||||||
"Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build"
|
"Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@parcel/transformer-pug": "2.7.0",
|
"@parcel/transformer-pug": "2.6.2",
|
||||||
"@parcel/transformer-sass": "2.7.0",
|
"@parcel/transformer-sass": "2.6.2",
|
||||||
"parcel": "^2.7.0"
|
"parcel": "^2.6.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.*"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"node-forge": "0.10.0"
|
"node-forge": "0.10.0"
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
loop:
|
loop:
|
||||||
- docker-compose.yml
|
- docker-compose.yml
|
||||||
|
register: compose
|
||||||
|
|
||||||
- name: deploy Docker Compose stack if updated
|
- name: deploy Docker Compose stack if updated
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
@@ -25,3 +26,4 @@
|
|||||||
pull: true
|
pull: true
|
||||||
files:
|
files:
|
||||||
- docker-compose.yml
|
- docker-compose.yml
|
||||||
|
when: compose.changed
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ html(lang='en')
|
|||||||
.container
|
.container
|
||||||
.pod
|
.pod
|
||||||
.glow
|
.glow
|
||||||
img#profile_pic(src='https://s3.fluttershub.com/fluttershub-com/public/profile_pic.png', alt='')
|
img#profile_pic(src='https://img.fluttershub.com/VjpiMs7xp60yEcAH.png', alt='')
|
||||||
h1.welcome_text.text-flicker.text-flicker-1 Phoenix/Hotaru
|
h1.welcome_text.text-flicker.text-flicker-1 Phoenix/Hotaru
|
||||||
p.about_me.standard_text.text-box-glow
|
p.about_me.standard_text.text-box-glow
|
||||||
.pod
|
.pod
|
||||||
@@ -22,8 +22,6 @@ html(lang='en')
|
|||||||
a.standard_text.text-flicker-2(href="https://twitter.com/HotaruBlaze") Twitter
|
a.standard_text.text-flicker-2(href="https://twitter.com/HotaruBlaze") Twitter
|
||||||
a.standard_text.text-flicker-2(href="https://github.com/HotaruBlaze") Github
|
a.standard_text.text-flicker-2(href="https://github.com/HotaruBlaze") Github
|
||||||
a.standard_text.text-flicker-2(href="https://gitlab.com/HotaruBlaze") Gitlab
|
a.standard_text.text-flicker-2(href="https://gitlab.com/HotaruBlaze") Gitlab
|
||||||
a.standard_text.text-flicker-2(href="mailto:hotarublaze@gmail.com") Email
|
|
||||||
footer.standard_text.footer-slide
|
footer.standard_text.footer-slide
|
||||||
.creator
|
.creator
|
||||||
a.build_text(href="https://www.youtube.com/watch?v=5DWFZhAVI3s") Cookie?
|
a.build_text(href="https://img.fluttershub.com/EgOwhwrHyHWw.png") Cookie? 🍪
|
||||||
a.cookie(href="https://img.fluttershub.com/pdDK7pdVJZU3d9UI.jpg") 🍪
|
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ meta(property='og:url', content='https://fluttershub.com')
|
|||||||
meta(property='og:type', content='website')
|
meta(property='og:type', content='website')
|
||||||
meta(property='og:title', content='Phoenix\'s Personal Website')
|
meta(property='og:title', content='Phoenix\'s Personal Website')
|
||||||
meta(property='og:description', content='We got cookies and milk!')
|
meta(property='og:description', content='We got cookies and milk!')
|
||||||
meta(property='og:image', content='http://s3.fluttershub.com/fluttershub-com/public/profile_pic.png')
|
meta(property='og:image', content='http://storage.googleapis.com/api.fluttershub.com/images/public/profile_pic.jpg')
|
||||||
meta(property='og:image:secure_url', content='https://s3.fluttershub.com/fluttershub-com/public/profile_pic.png')
|
meta(property='og:image:secure_url', content='https://storage.googleapis.com/api.fluttershub.com/images/public/profile_pic.jpg')
|
||||||
|
|||||||
@@ -60,9 +60,6 @@ body,html, .container {
|
|||||||
-moz-user-select: text;
|
-moz-user-select: text;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.cookie {
|
|
||||||
text-decoration: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.no_hightnight a:link, a{
|
.no_hightnight a:link, a{
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|||||||
Reference in New Issue
Block a user