Compare commits
3 commits
b4e5c1ac62
...
ff6c7f6f68
| Author | SHA1 | Date | |
|---|---|---|---|
| ff6c7f6f68 | |||
| 86e99ae1a4 | |||
| eef82077b2 |
|
|
@ -1,5 +0,0 @@
|
||||||
node_modules
|
|
||||||
dist
|
|
||||||
target
|
|
||||||
package-lock.json
|
|
||||||
.*
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"projects": {
|
|
||||||
"default": "schmelczer-dev"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
38
.forgejo/workflows/deploy.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
name: Check & deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ['main']
|
||||||
|
pull_request:
|
||||||
|
branches: ['main']
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: 'pages'
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '12'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: Copy files to nginx pages mount
|
||||||
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
|
run: |
|
||||||
|
apt update && apt install -y rsync
|
||||||
|
rsync -a --delete --mkpath --chmod=ugo=rwx dist/ /pages/photos/
|
||||||
0
.gitattributes
vendored
Executable file → Normal file
21
.github/workflows/main.yaml
vendored
|
|
@ -1,21 +0,0 @@
|
||||||
name: Deploy site
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
jobs:
|
|
||||||
firebase-deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout current branch with lfs
|
|
||||||
uses: actions/checkout@master
|
|
||||||
- name: Build site
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
- name: Deploy html
|
|
||||||
uses: w9jds/firebase-action@master
|
|
||||||
with:
|
|
||||||
args: deploy --only hosting:photo-schmelczer-dev --project schmelczer-dev
|
|
||||||
env:
|
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
|
||||||
0
.gitignore
vendored
Executable file → Normal file
0
.prettierrc
Executable file → Normal file
4
README.md
Executable file → Normal file
|
|
@ -1,3 +1 @@
|
||||||
# Photos
|
# Photos
|
||||||
|
|
||||||

|
|
||||||
|
|
|
||||||
0
custom.d.ts
vendored
Executable file → Normal file
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"hosting": {
|
|
||||||
"site": "photo-schmelczer-dev",
|
|
||||||
"public": "dist",
|
|
||||||
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
|
||||||
"rewrites": [
|
|
||||||
{
|
|
||||||
"source": "**",
|
|
||||||
"destination": "/index.html"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"headers": [
|
|
||||||
{
|
|
||||||
"source": "**/*.@(jpg|jpeg|gif|png|webm|mp4)",
|
|
||||||
"headers": [
|
|
||||||
{
|
|
||||||
"key": "Cache-Control",
|
|
||||||
"value": "max-age=31536000"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
BIN
og-image.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 243 KiB After Width: | Height: | Size: 131 B |
0
package.json
Executable file → Normal file
0
src/helper/create-image.ts
Executable file → Normal file
0
src/helper/last.ts
Executable file → Normal file
0
src/index.html
Executable file → Normal file
0
src/index.scss
Executable file → Normal file
0
src/index.ts
Executable file → Normal file
0
src/model/responsive-image.ts
Executable file → Normal file
0
src/no-change/404.html
Executable file → Normal file
0
src/no-change/robots.txt
Executable file → Normal file
0
src/photos.ts
Executable file → Normal file
0
src/pictures/_DSC1190-Edit.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
0
src/pictures/_DSC1484.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 3 MiB After Width: | Height: | Size: 3 MiB |
0
src/pictures/_DSC1834.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
0
src/pictures/_DSC2313.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
0
src/pictures/_DSC2362.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
0
src/pictures/_DSC2674.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
0
src/pictures/_DSC8718-Edit.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 9.6 MiB After Width: | Height: | Size: 9.6 MiB |
0
src/pictures/adam.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
0
src/pictures/dorka-1.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
0
src/pictures/kezdetazarovonalbol.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 6.7 MiB After Width: | Height: | Size: 6.7 MiB |
0
src/pictures/nap-2.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 279 KiB |
0
src/pictures/nyomtatas-10.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 6.5 MiB After Width: | Height: | Size: 6.5 MiB |
0
src/pictures/nyomtatas-8.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 7.6 MiB After Width: | Height: | Size: 7.6 MiB |
0
src/pictures/web-1-2.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 381 KiB After Width: | Height: | Size: 381 KiB |
0
src/pictures/web-1.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 281 KiB After Width: | Height: | Size: 281 KiB |
0
src/pictures/web-10.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 193 KiB |
0
src/pictures/web-11.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 240 KiB |
0
src/pictures/web-12.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 184 KiB |
0
src/pictures/web-13.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 307 KiB After Width: | Height: | Size: 307 KiB |
0
src/pictures/web-14.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
0
src/pictures/web-17.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 244 KiB |
0
src/pictures/web-18.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 262 KiB |
0
src/pictures/web-19.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 321 KiB After Width: | Height: | Size: 321 KiB |
0
src/pictures/web-2-2.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 413 KiB After Width: | Height: | Size: 413 KiB |
0
src/pictures/web-2.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 353 KiB After Width: | Height: | Size: 353 KiB |
0
src/pictures/web-20.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 216 KiB |
0
src/pictures/web-22.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 381 KiB After Width: | Height: | Size: 381 KiB |
0
src/pictures/web-23.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 356 KiB After Width: | Height: | Size: 356 KiB |
0
src/pictures/web-24.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 224 KiB |
0
src/pictures/web-25.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
0
src/pictures/web-26.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 297 KiB After Width: | Height: | Size: 297 KiB |
0
src/pictures/web-3-2.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 313 KiB After Width: | Height: | Size: 313 KiB |
0
src/pictures/web-3.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 201 KiB |
0
src/pictures/web-4-2.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 369 KiB After Width: | Height: | Size: 369 KiB |
0
src/pictures/web-42.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
0
src/pictures/web-5.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 140 KiB |
0
src/pictures/web-6.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 465 KiB After Width: | Height: | Size: 465 KiB |
0
src/pictures/web-7.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 670 KiB After Width: | Height: | Size: 670 KiB |
0
src/pictures/web-8.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 810 KiB After Width: | Height: | Size: 810 KiB |