Compare commits

...

55 commits

Author SHA1 Message Date
a4e45ab2b8
Unlighthouse rework with docker
All checks were successful
/ astro-check (push) Successful in 14s
/ get-version (push) Successful in 2s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m1s
/ run-unlighthouse (push) Successful in 0s
/ create-release (push) Successful in 6s
/ auto-deploy-dockge (push) Successful in 5s
2024-11-01 16:34:51 +01:00
a8815648cb
Added font preloading
All checks were successful
/ astro-check (push) Successful in 12s
/ get-version (push) Successful in 3s
/ check-tag (push) Successful in 3s
/ create-release (push) Successful in 8s
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m8s
/ auto-deploy-dockge (push) Successful in 9s
/ deploy-unlighthouse-files (push) Successful in 1m8s
/ unlighthouse (push) Successful in 52s
/ deploy-unlighthouse-site (push) Successful in 5s
2024-10-02 00:01:21 +02:00
747b1d78db
Updated dockge version
All checks were successful
/ astro-check (push) Successful in 13s
/ get-version (push) Successful in 3s
/ deploy-unlighthouse-files (push) Successful in 1m26s
/ unlighthouse (push) Successful in 47s
/ deploy-unlighthouse-site (push) Successful in 2m45s
2024-10-01 23:39:31 +02:00
d982c5f57b
Bumped version
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 12s
/ create-release (push) Successful in 7s
/ check-tag (push) Successful in 3s
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m8s
/ auto-deploy-dockge (push) Successful in 13s
2024-09-28 15:41:57 +02:00
c609634b98
Updated flows with redeploys
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s
2024-09-28 15:41:14 +02:00
629bf91d4f
Bumped astro and restructured
All checks were successful
/ get-version (push) Successful in 5s
/ astro-check (push) Successful in 14s
/ build-site (push) Successful in 1m17s
/ check-tag (push) Successful in 3s
/ auto-deploy-dockge (push) Successful in 7s
/ checking (push) Successful in 15s
/ create-release (push) Successful in 11s
2024-08-21 13:26:38 +02:00
949b05b192
smol changes
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 12s
2024-08-16 18:44:31 +02:00
de3e262a3c
Content Collection Schemas
All checks were successful
/ astro-check (push) Successful in 13s
/ get-version (push) Successful in 3s
/ check-tag (push) Successful in 3s
/ checking (push) Successful in 14s
/ create-release (push) Successful in 7s
/ auto-deploy-dockge (push) Successful in 12s
/ build-site (push) Successful in 1m6s
2024-08-01 18:01:39 +02:00
27ee2de172
fixed typo
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 17s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 15s
/ build-site (push) Successful in 59s
/ create-release (push) Successful in 10s
/ auto-deploy-dockge (push) Successful in 11s
2024-07-31 21:16:55 +02:00
95e8df6478
ver bump
All checks were successful
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 12s
/ auto-deploy-dockge (push) Successful in 16s
/ build-site (push) Successful in 1m12s
/ create-release (push) Successful in 7s
2024-07-30 22:50:41 +02:00
801c00375d
Kriemhild, fixed teslafest naming and slugs
Some checks failed
/ get-version (push) Successful in 3s
/ astro-check (push) Has been cancelled
2024-07-30 22:49:57 +02:00
fdb9fd183f
Updated Teslafest as well
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 27s
/ build-site (push) Successful in 1m47s
/ auto-deploy-dockge (push) Successful in 11s
/ create-release (push) Successful in 28s
2024-07-30 22:01:06 +02:00
1cf59e0bea
Migrating to image ids
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 12s
/ build-site (push) Successful in 1m8s
/ create-release (push) Successful in 8s
/ auto-deploy-dockge (push) Successful in 5s
2024-07-30 00:31:19 +02:00
00b9a8566c
fixed date 2024-07-30 00:18:23 +02:00
e4ab214441
Arctic Summer 2
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 15s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 12s
/ build-site (push) Successful in 1m24s
/ create-release (push) Successful in 7s
/ auto-deploy-dockge (push) Successful in 20s
2024-07-29 23:26:04 +02:00
55231de6ec
Arctic Summer and descriptions
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m7s
/ create-release (push) Successful in 7s
/ auto-deploy-dockge (push) Successful in 6s
2024-07-29 15:20:31 +02:00
03f3b230e6
Working on Traum 2024-07-26 11:11:39 +02:00
15ebe78733
Added getversion step
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 12s
2024-07-25 23:27:04 +02:00
73609d03c0
Fixed check tag script
All checks were successful
/ astro-check (push) Successful in 15s
2024-07-25 23:26:35 +02:00
e28c7e066d
Added dockge redeploy support
All checks were successful
/ astro-check (push) Successful in 12s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 12s
/ auto-deploy-dockge (push) Successful in 18s
/ create-release (push) Successful in 39s
/ build-site (push) Successful in 1m7s
2024-07-25 23:24:22 +02:00
9fcbdebe9a
Added Summer Skadi DB run
All checks were successful
/ astro-check (push) Successful in 13s
2024-07-25 23:22:51 +02:00
123f600f6f
Fixed linting issues
All checks were successful
/ astro-check (push) Successful in 45s
2024-07-18 22:06:30 +02:00
2a208c60c8
Using latest for now
All checks were successful
/ astro-check (push) Successful in 21s
2024-07-18 22:04:51 +02:00
75d498852f
Switch to custom node-alpine image
Some checks failed
/ astro-check (push) Failing after 28s
2024-07-18 21:57:59 +02:00
96df246781
Fixed Workflow
Some checks failed
/ astro-check (push) Failing after 12m33s
2024-07-18 21:35:30 +02:00
89189da621
Workflow improvements
Some checks failed
/ astro-check (push) Failing after 43s
2024-07-18 21:29:12 +02:00
57cf29e71c
Navbar improvements
All checks were successful
/ build-site (push) Successful in 1m0s
/ checking (push) Successful in 15s
/ publish (push) Successful in 1m16s
2024-07-16 21:11:28 +02:00
034d769e7e
Switched to alpine containers
All checks were successful
/ checking (push) Successful in 56s
/ publish (push) Successful in 9s
/ build-site (push) Successful in 1m17s
2024-07-16 20:21:53 +02:00
5e4da25f8d
Fixed Docker File
All checks were successful
/ checking (push) Successful in 14s
/ publish (push) Successful in 6s
/ build-site (push) Successful in 2m23s
2024-07-16 19:46:53 +02:00
1975bbc8d2
Fixed darkreader issue
All checks were successful
/ checking (push) Successful in 11s
/ publish (push) Successful in 7s
/ build-site (push) Successful in 8m7s
2024-07-16 19:30:04 +02:00
d67e426f15
Less shifting UI
All checks were successful
/ checking (push) Successful in 13s
/ publish (push) Successful in 7s
/ build-site (push) Successful in 1m59s
2024-07-16 18:43:22 +02:00
1f1bc5a7db
More Redesign 2
All checks were successful
/ build-site (push) Successful in 1m58s
/ checking (push) Successful in 20s
/ publish (push) Successful in 7s
2024-07-15 22:38:41 +02:00
5da1dde6a6
More Redesign
All checks were successful
/ checking (push) Successful in 14s
/ build-site (push) Successful in 1m46s
/ publish (push) Successful in 7s
2024-07-15 17:53:42 +02:00
9e61582456
Coloring of stuff
All checks were successful
/ checking (push) Successful in 13s
/ build-site (push) Successful in 1m46s
/ publish (push) Successful in 7s
/ unlighthouse (push) Successful in 54s
/ deploy-unlighthouse-files (push) Successful in 9s
/ deploy-unlighthouse-site (push) Successful in 5s
2024-07-15 15:28:08 +02:00
9c2c7f7818
Redesign Part 2
All checks were successful
/ checking (push) Successful in 14s
/ build-site (push) Successful in 2m12s
/ publish (push) Successful in 8s
2024-07-15 14:39:52 +02:00
f1bb9b80ca
Redesign
All checks were successful
/ checking (push) Successful in 13s
/ build-site (push) Successful in 2m20s
/ publish (push) Successful in 1m4s
2024-07-14 21:15:16 +02:00
0b4bca36ed
Pinned Docker versions and preemptively fixed issues with ARIA
All checks were successful
/ checking (push) Successful in 13s
/ build-site (push) Successful in 2m22s
/ publish (push) Successful in 7s
/ deploy-unlighthouse-files (push) Successful in 6s
/ unlighthouse (push) Successful in 40s
/ deploy-unlighthouse-site (push) Successful in 6s
2024-06-20 22:26:56 +02:00
3ebbc2408b
Fixed issues reported by TokuHer0
All checks were successful
/ checking (push) Successful in 17s
/ build-site (push) Successful in 3m39s
/ release (push) Successful in 7s
2024-06-18 21:45:38 +02:00
4bd32b9840
Release 0.2.0 - Teslafest is here
All checks were successful
/ release (push) Successful in 6s
/ checking (push) Successful in 13s
/ publish (push) Successful in 6s
/ build-site (push) Successful in 2m6s
2024-06-15 19:25:25 +02:00
5ed62666ac
Bumped caniuse
All checks were successful
/ checking (push) Successful in 11s
/ unlighthouse (push) Successful in 57s
/ deploy-unlighthouse-files (push) Successful in 8s
/ deploy-unlighthouse-site (push) Successful in 5s
2024-06-14 00:01:49 +02:00
e577cf3861
Liz egg and final preparations
All checks were successful
/ build-site (push) Successful in 1m37s
/ publish (push) Successful in 7s
/ checking (push) Successful in 11s
2024-06-14 00:00:23 +02:00
7ee1afa674
Fixed issues Zectry found
All checks were successful
/ checking (push) Successful in 15s
/ publish (push) Successful in 7s
/ build-site (push) Successful in 1m39s
2024-05-15 08:50:07 +02:00
c4d980f0cd
Production Release
All checks were successful
/ checking (push) Successful in 11s
2024-05-15 00:11:55 +02:00
b064bda7d8
Disabled dynamic smapling for Unlighthouse
All checks were successful
/ checking (push) Successful in 11s
/ deploy-unlighthouse-files (push) Successful in 7s
/ unlighthouse (push) Successful in 55s
/ deploy-unlighthouse-site (push) Successful in 5s
2024-05-15 00:08:02 +02:00
d17e6ff986
Added all missing teslafest runs
All checks were successful
/ checking (push) Successful in 12s
/ build-site (push) Successful in 2m11s
/ publish (push) Successful in 6s
/ unlighthouse (push) Successful in 36s
/ deploy-unlighthouse-files (push) Successful in 7s
/ deploy-unlighthouse-site (push) Successful in 5s
2024-05-15 00:00:08 +02:00
c68294be55
Added Revival 2020 and fixed some issues
All checks were successful
/ checking (push) Successful in 12s
/ publish (push) Successful in 7s
/ build-site (push) Successful in 1m39s
/ unlighthouse (push) Successful in 36s
/ deploy-unlighthouse-site (push) Successful in 5s
/ deploy-unlighthouse-files (push) Successful in 7s
2024-05-12 23:52:44 +02:00
23fbe1b733
Savestate Revival 2020
All checks were successful
/ checking (push) Successful in 15s
2024-05-12 00:58:39 +02:00
a16d06676d
Added Mega Coil
All checks were successful
/ checking (push) Successful in 12s
/ build-site (push) Successful in 1m38s
/ publish (push) Successful in 7s
2024-05-09 22:56:15 +02:00
cf384c018b
Updated Version in package lock
All checks were successful
/ checking (push) Successful in 13s
2024-05-06 09:00:07 +02:00
8fc270833b
Working on Mega Coil
All checks were successful
/ checking (push) Successful in 11s
/ publish (push) Successful in 7s
/ build-site (push) Successful in 1m56s
2024-05-01 23:49:59 +02:00
827353f729
First Batch for Teslafest
All checks were successful
/ checking (push) Successful in 12s
/ build-site (push) Successful in 2m0s
/ publish (push) Successful in 6s
/ unlighthouse (push) Successful in 37s
/ deploy-unlighthouse-files (push) Successful in 8s
/ deploy-unlighthouse-site (push) Successful in 5s
2024-05-01 01:37:29 +02:00
45fd44e192
Added all fuuma runs 2024-04-29 15:58:52 +02:00
2af757d5bd
Started work on Teslafest Section
All checks were successful
/ checking (push) Successful in 14s
2024-04-28 14:45:59 +02:00
0afe61add2
Comments
All checks were successful
/ checking (push) Successful in 29s
2024-01-25 21:23:21 +01:00
2db950a59d
Split Schema
All checks were successful
/ checking (push) Successful in 12s
2024-01-25 21:21:45 +01:00
224 changed files with 8122 additions and 2771 deletions

View file

@ -1,41 +1,57 @@
on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+pre[0-9]+'
- '[0-9]+\.[0-9]+\.[0-9]+-pre\.[0-9]+'
jobs:
checking:
check-tag:
runs-on: docker
container: node:lts
steps:
- name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Check if Version in package.json matches Tag
run: |
VERSION=$(npm pkg get version --workspaces=false | tr -d \")
if test $VERSION != "${{ github.ref_name }}"; then
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
exit 1
else
echo "Version is: '$VERSION'";
fi
checking:
needs: [ check-tag ]
runs-on: docker
container: forgejo.neshweb.net/ci-docker-images/node-alpine-git:latest
steps:
- name: Checkout source code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Install packages
run: npm install
run: npm i
- name: Run astro check (linting + static analysis)
run: npm run astro check
build-site:
needs: [checking]
needs: [ checking ]
if: success()
runs-on: dind
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
- name: Log into Docker Package Registry
uses: docker/login-action@v3
with:
registry: forgejo.neshweb.net
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_TOKEN }}
- name: Push to Package Registry
- name: Build and push to Docker Package Registry
uses: docker/build-push-action@v5
with:
push: true
tags: forgejo.neshweb.net/firq/fgo-ta-com-website:${{ github.ref_name }}, forgejo.neshweb.net/firq/fgo-ta-com-website:preview
publish:
needs: [build-site]
create-release:
needs: [ build-site ]
if: success()
runs-on: docker
steps:
@ -48,3 +64,34 @@ jobs:
token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }}
prerelease: true
auto-deploy-dockge:
needs: [ build-site ]
if: success()
runs-on: docker
container: forgejo.neshweb.net/firq/dockge-cli:0.1.2
steps:
- name: Configure Dockge CLI
run: |
dockge host '${{ vars.DOCKGE_HOST }}'
dockge login --user '${{ secrets.DOCKGE_USER }}' --password '${{ secrets.DOCKGE_CREDENTIAL }}'
- name: Check status and redeploy
run: |
dockge status fgo-ta-com-preview
dockge update fgo-ta-com-preview
dockge status fgo-ta-com-preview
run-unlighthouse:
needs: [ build-site ]
if: success()
runs-on: docker
steps:
- name: Launch workflow
run: |
payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"containertag\": \"${GITHUB_REF_NAME}\" }}"
curl -X "POST" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: token ${GITHUB_TOKEN}" \
-d "${payload}" \
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v

View file

@ -4,38 +4,54 @@ on:
- '[0-9]+\.[0-9]+\.[0-9]+'
jobs:
checking:
check-tag:
runs-on: docker
container: node:lts
steps:
- name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Check if Version in package.json matches Tag
run: |
VERSION=$(npm pkg get version --workspaces=false | tr -d \")
if test $VERSION != "${{ github.ref_name }}"; then
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
exit 1
else
echo "Version is: '$VERSION'";
fi
checking:
needs: [ check-tag ]
runs-on: docker
container: forgejo.neshweb.net/ci-docker-images/node-alpine-git:latest
steps:
- name: Checkout source code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Install packages
run: npm install
run: npm i
- name: Run astro check (linting + static analysis)
run: npm run astro check
build-site:
needs: [checking]
needs: [ checking ]
if: success()
runs-on: dind
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
- name: Log into Docker Package Registry
uses: docker/login-action@v3
with:
registry: forgejo.neshweb.net
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_TOKEN }}
- name: Push to Package Registry
- name: Build and push to Docker Package Registry
uses: docker/build-push-action@v5
with:
push: true
tags: forgejo.neshweb.net/firq/fgo-ta-com-website:${{ github.ref_name }}, forgejo.neshweb.net/firq/fgo-ta-com-website:latest
release:
needs: [build-site]
create-release:
needs: [ build-site ]
if: success()
runs-on: docker
steps:
@ -47,3 +63,19 @@ jobs:
release-dir: release
token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }}
auto-deploy-dockge:
needs: [ build-site ]
if: success()
runs-on: docker
container: forgejo.neshweb.net/firq/dockge-cli:0.1.2
steps:
- name: Configure Dockge CLI
run: |
dockge host '${{ vars.DOCKGE_HOST }}'
dockge login --user '${{ secrets.DOCKGE_USER }}' --password '${{ secrets.DOCKGE_CREDENTIAL }}'
- name: Check status and redeploy
run: |
dockge status fgo-ta-com
dockge update fgo-ta-com
dockge status fgo-ta-com

View file

@ -4,13 +4,22 @@ on:
- '**'
jobs:
checking:
get-version:
runs-on: docker
container: node:lts
steps:
- name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Check if Version in package.json matches Tag
run: |
VERSION=$(npm pkg get version --workspaces=false | tr -d \")
echo "Version is: '$VERSION'";
astro-check:
runs-on: docker
container: forgejo.neshweb.net/ci-docker-images/node-alpine-git:latest
steps:
- name: Checkout source code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Install packages
run: npm install
run: npm i
- name: Run astro check (linting + static analysis)
run: npm run astro check

View file

@ -1,18 +1,36 @@
name: Run unlighthouse-tests [Downstream pipeline]
run-name: Run unlighthouse-tests [Downstream pipeline] for version ${{ inputs.containertag }}
on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+unlighthouse[0-9]+'
- '[0-9]+\.[0-9]+\.[0-9]+ulh[0-9]+'
workflow_dispatch:
inputs:
containertag:
description: "Tag of the container to test"
default: "preview"
type: "string"
jobs:
unlighthouse:
runs-on: docker
container: forgejo.neshweb.net/ci-docker-images/unlighthouse:latest
container:
image: forgejo.neshweb.net/ci-docker-images/unlighthouse:0.3.0
services:
website:
image: forgejo.neshweb.net/firq/fgo-ta-com-website:${{ inputs.containertag }}
options: >-
--workdir /
steps:
- name: Checkout repository
uses: https://code.forgejo.org/actions/checkout@v3
- name: Check availability
run: |
while [ "$(curl -o /dev/null -s -w '%{http_code}' http://localhost:8081/)" -ne 200 ];
do echo "Waiting...";
sleep 5;
done;
- name: Run unlighthouse
run: unlighthouse-ci --site "https://preview.fgo-ta.com/"
run: unlighthouse-ci --site "http://localhost:8081/"
- name: Replace URLs
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://localhost:8081|https://preview.fgo-ta.com|g";
- name: Prepare artifacts
run: cp serve.json unlighthouse-reports
- name: Upload reports
@ -20,79 +38,54 @@ jobs:
with:
name: unlighthouse-reports
path: unlighthouse-reports/
- name: Upload Dockerfile
uses: actions/upload-artifact@v3
with:
name: dockerfile
path: Dockerfile.reports
deploy-unlighthouse-files:
build-site:
needs: [ unlighthouse ]
if: success()
runs-on: docker
env:
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
runs-on: dind
steps:
- name: Install and update ssh + rsync
run: |
which rsync || ( apt update -y && apt install rsync -y)
which ssh-agent || ( apt update -y && apt install openssh-client -y)
- name: Downloading static site artifacts
uses: actions/download-artifact@v3
with:
name: dockerfile
- name: Downloading static site artifacts
uses: actions/download-artifact@v3
with:
name: unlighthouse-reports
path: public
- name: Install SSH Key
uses: https://github.com/shimataro/ssh-key-action@v2
path: reports
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into Docker Package Registry
uses: docker/login-action@v3
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: unnecessary
- name: Adding Known Hosts
run: ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
- name: Stop screen session, delete old files
uses: https://github.com/appleboy/ssh-action@master
registry: forgejo.neshweb.net
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_TOKEN }}
- name: Build and push to Docker Package Registry
uses: docker/build-push-action@v5
with:
host: ${{ env.DEPLOY_HOST }}
username: ${{ env.DEPLOY_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
screen -X -S fgo_ta_com-unlighthouse kill
rm -r -f fgo_ta_com/unlighthouse/*
- name: Copy files using rsync
run: rsync -az --stats public/* ${{ env.DEPLOY_USER }}@${{ env.DEPLOY_HOST }}:~/fgo_ta_com/unlighthouse
- name: Check files on deploy target
uses: https://github.com/appleboy/ssh-action@master
with:
host: ${{ env.DEPLOY_HOST }}
username: ${{ env.DEPLOY_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd fgo_ta_com
find unlighthouse -maxdepth 1 -printf "%p\n"
context: .
file: Dockerfile.reports
push: true
tags: forgejo.neshweb.net/firq/fgo-ta-com-website-unlighthouse:latest
deploy-unlighthouse-site:
needs: [ deploy-unlighthouse-files ]
auto-deploy-dockge:
needs: [ build-site ]
if: success()
runs-on: docker
env:
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
container: forgejo.neshweb.net/firq/dockge-cli:0.1.2
steps:
- name: Install and update ssh + rsync
- name: Configure Dockge CLI
run: |
which rsync || ( apt update -y && apt install rsync -y)
which ssh-agent || ( apt update -y && apt install openssh-client -y)
- name: Install SSH Key
uses: https://github.com/shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: unnecessary
- name: Adding Known Hosts
run: ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
- name: Start new screen session
uses: https://github.com/appleboy/ssh-action@master
with:
host: ${{ env.DEPLOY_HOST }}
username: ${{ env.DEPLOY_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
PATH="$HOME/.local/bin:$PATH"
screen -ls | grep 'fgo_ta_com-unlighthouse' | awk '{print $1}' | xargs -I % -t screen -X -S % quit
cd fgo_ta_com
screen -S fgo_ta_com-unlighthouse -dm serve unlighthouse/ -p ${{ secrets.UNLIGHTHOUSE_DEPLOY_PORT }}
dockge host '${{ vars.DOCKGE_HOST }}'
dockge login --user '${{ secrets.DOCKGE_USER }}' --password '${{ secrets.DOCKGE_CREDENTIAL }}'
- name: Check status and redeploy
run: |
dockge status fgo-ta-com-unlighthouse
dockge update fgo-ta-com-unlighthouse
dockge status fgo-ta-com-unlighthouse

3
.gitignore vendored
View file

@ -19,3 +19,6 @@ pnpm-debug.log*
# macOS-specific files
.DS_Store
# Temporary files
.temp/

View file

@ -1,15 +1,16 @@
FROM node:21.5 AS build
FROM node:22-alpine AS build
WORKDIR /site
COPY . .
RUN npm i
RUN npm run astro telemetry disable
RUN npm run build
FROM forgejo.neshweb.net/ci-docker-images/website-serve:latest AS runtime
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
COPY --from=build /site/dist /public
COPY --from=build /site/serve.json /public/serve.json
ENV PORT 8081
ENV PORT=8081
EXPOSE 8081
CMD [ "serve", "public/", "-p", "8081" ]
CMD serve public/ -p ${PORT}

6
Dockerfile.reports Normal file
View file

@ -0,0 +1,6 @@
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
ADD reports /public
EXPOSE 8081
CMD serve public/ -p 8081

View file

@ -1,12 +1,12 @@
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';
import metaTags from "astro-meta-tags";
import { defineConfig } from 'astro/config';
export default defineConfig({
sitemap: true,
base: '/',
outDir: 'dist',
publicDir: 'static',
publicDir: 'public',
site: 'https://fgo-ta.com/',
integrations: [sitemap(), metaTags()],
trailingSlash: "never"

4808
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
{
"name": "fgo-ta-com-website",
"type": "module",
"version": "0.1.16",
"version": "0.2.2-pre.22",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
@ -10,15 +10,16 @@
"astro": "astro"
},
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.4.3",
"@astrojs/check": "^0.3.4",
"@astrojs/sitemap": "^3.0.3",
"astro": "^4.0.7",
"astro-meta-tags": "^0.1.3",
"autoprefixer": "^10.4.16",
"iconoir": "^7.3.0",
"postcss-preset-env": "^9.3.0",
"typescript": "^5.3.3"
"@astro-community/astro-embed-youtube": "^0.5.2",
"@astrojs/check": "^0.9.3",
"@astrojs/sitemap": "^3.1.6",
"@fontsource/work-sans": "^5.0.18",
"astro": "^4.14.3",
"astro-meta-tags": "^0.3.0",
"autoprefixer": "^10.4.19",
"iconoir": "^7.7.0",
"postcss-preset-env": "^9.6.0",
"typescript": "^5.5.3"
},
"browserslist": [
"last 2 versions",

View file

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 123 KiB

View file

@ -12,6 +12,15 @@
}
]
},
{
"source": "**/*.woff2",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache"
}
]
},
{
"source": "404.html",
"headers": [

BIN
src/assets/lizsad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View file

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View file

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View file

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Some files were not shown because too many files have changed in this diff Show more