Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcc4415d8e | ||
|
|
9c70c83eec | ||
|
|
231a238e77 | ||
|
|
a0b9e7df47 | ||
|
|
0ef472cf3f | ||
|
|
15591f2a25 | ||
|
|
8db3fcf387 | ||
|
|
ba488136e8 | ||
|
|
3c68ff26d1 | ||
|
|
f75b78c330 | ||
|
|
28f7e1e99f | ||
|
|
2598d9ecde | ||
|
|
bea42ada6b | ||
|
|
412676b3fb |
No files matched your search
@@ -0,0 +1,37 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: rocky-10
|
||||
steps:
|
||||
- name: Check out source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Install dependencies and build
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.0.0 --activate
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build
|
||||
|
||||
- name: Create release archive
|
||||
run: tar -czf dist.tar.gz -C build .
|
||||
|
||||
- name: Create release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
server_url: ${{ gitea.server_url }}
|
||||
tag_name: ${{ gitea.ref_name }}
|
||||
name: ${{ gitea.ref_name }}
|
||||
files: dist.tar.gz
|
||||
@@ -1,65 +0,0 @@
|
||||
name: CI/CD
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 7
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: build
|
||||
path: build/
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@master
|
||||
with:
|
||||
name: build
|
||||
path: www.mtps.pl/
|
||||
|
||||
- name: Copy via ssh
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ secrets.DEPLOY_HOST }}
|
||||
port: 2280
|
||||
username: ${{ secrets.DEPLOY_USERNAME }}
|
||||
key: ${{ secrets.DEPLOY_KEY }}
|
||||
source: 'www.mtps.pl/'
|
||||
target: '~/builds/'
|
||||
|
||||
- name: Run ansible
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.DEPLOY_HOST }}
|
||||
port: 2280
|
||||
username: ${{ secrets.DEPLOY_USERNAME }}
|
||||
key: ${{ secrets.DEPLOY_KEY }}
|
||||
script: ~/publish-build.sh www.mtps.pl
|
||||
+18
-11
@@ -1,19 +1,26 @@
|
||||
{
|
||||
"name": "homepage",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=18.18.0",
|
||||
"pnpm": ">=11.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@testing-library/user-event": "^14.4.3",
|
||||
"@types/jest": "^29.5.0",
|
||||
"@types/node": "^18.15.10",
|
||||
"@types/react": "^18.0.29",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-scripts": "5.0.1",
|
||||
"typescript": "^5.0.2",
|
||||
"web-vitals": "^3.3.0"
|
||||
"web-vitals": "^3.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^5.17.0",
|
||||
"@testing-library/react": "^14.3.1",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^22.15.0",
|
||||
"@types/react": "^18.3.31",
|
||||
"@types/react-dom": "^18.3.7",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
|
||||
Generated
+9121
-7191
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,12 @@
|
||||
allowBuilds:
|
||||
core-js: true
|
||||
core-js-pure: true
|
||||
overrides:
|
||||
'@tootallnate/once': ^2.0.1
|
||||
nth-check: ^2.1.1
|
||||
postcss: ^8.5.23
|
||||
qs: ^6.16.0
|
||||
serialize-javascript: ^7.0.5
|
||||
svgo: ^2.8.4
|
||||
underscore: ^1.13.7
|
||||
uuid: ^11.1.1
|
||||
+15
-16
@@ -50,10 +50,13 @@ function App() {
|
||||
Typescript.
|
||||
</p>
|
||||
<p>
|
||||
Alongside development, I host my projects and apps on two servers
|
||||
running Ubuntu Server. All my domains are being balanced by NGINX. I
|
||||
maintain all the local services we use on our home network. Most of
|
||||
them are running on a PfSense box.
|
||||
Alongside development, I host my projects and apps on a small
|
||||
network, that I run with my friend. It consists of 3x locations,
|
||||
with main machines running Proxmox VE. They are all connected with
|
||||
IPSEC, running on OPNsense boxes. Load balancing is done by NGINX,
|
||||
and certificates are generated automatically from Letsencrypt. My
|
||||
software projects are automated with Github Actions and Ansible, to
|
||||
automatically deploy new builds to target machines (VMs).
|
||||
</p>
|
||||
<p>
|
||||
I write a significant portions of my own tooling, and experiment
|
||||
@@ -64,18 +67,20 @@ function App() {
|
||||
</div>
|
||||
<div className="stack">
|
||||
{[
|
||||
'mongodb-plain bigger',
|
||||
'express-original bigger',
|
||||
'react-original bigger',
|
||||
'nodejs-plain bigger',
|
||||
'typescript-plain bigger',
|
||||
'react-original bigger',
|
||||
'mongodb-plain bigger',
|
||||
'nginx-original bigger',
|
||||
'linux-plain bigger',
|
||||
'typescript-plain bigger',
|
||||
'ansible-plain bigger',
|
||||
//
|
||||
' spacer',
|
||||
//
|
||||
'python-plain big',
|
||||
//,
|
||||
'docker-plain big',
|
||||
'express-original',
|
||||
'terraform-plain',
|
||||
'python-plain big',
|
||||
'git-plain big',
|
||||
'socketio-original',
|
||||
'javascript-plain',
|
||||
@@ -104,12 +109,6 @@ function App() {
|
||||
></i>
|
||||
))}
|
||||
|
||||
{/* <li>React</li>
|
||||
<li>JQuery</li>
|
||||
<li>Express.js</li>
|
||||
<li>Redis</li>
|
||||
<li>MongoDB</li>
|
||||
<li>MySQL</li> */}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user