14 Commits
Author SHA1 Message Date
Mateusz Pstrucha 9c702ac24e test 2023-04-10 22:27:17 +02:00
Mateusz Pstrucha 0cfb212d59 change link 2023-04-10 21:02:10 +02:00
Mateusz Pstrucha 00c27fb975 fix ansible 2023-03-26 12:47:21 +02:00
Mateusz Pstrucha 6b2a00b520 publish 2023-03-26 12:39:45 +02:00
Mateusz Pstrucha 862cbb2af3 job dependency 2023-03-26 11:12:21 +02:00
Mateusz Pstrucha dc39faf8ce move deploy 2023-03-26 11:10:16 +02:00
Mateusz Pstrucha 6423dee1fc add deploy workflow 2023-03-26 11:07:26 +02:00
Mateusz Pstrucha a521d0062f eslint config 2023-03-26 00:51:22 +01:00
Mateusz Pstrucha 0dd6c18862 pnpm version again 2023-03-26 00:40:43 +01:00
Mateusz Pstrucha 84317c970a pnpm version 2023-03-26 00:38:49 +01:00
Mateusz Pstrucha ac007b1c6e add pnpm to actions 2023-03-26 00:36:50 +01:00
Mateusz Pstrucha 0ca7a6c6ee bump actions 2023-03-26 00:33:28 +01:00
Mateusz Pstrucha 895409f91c Merge pull request #2 from Maathias/refactor
Refactor
2023-03-26 00:28:41 +01:00
Mateusz Pstrucha 5eb17003ae Merge pull request #1 from Maathias/cleanup
Cleanup
2021-06-27 19:07:23 +02:00
4 changed files with 46 additions and 5 deletions

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
rules:
eqeqeq: off
react/jsx-no-target-blank: off
react-hooks/exhaustive-deps: off
+40 -4
View File
@@ -1,4 +1,4 @@
name: CI
name: CI/CD
on:
push:
@@ -10,20 +10,56 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v1
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
- uses: actions/upload-artifact@master
- 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
+1 -1
View File
@@ -141,7 +141,7 @@ function App() {
label="auth"
badges={['javascript-plain', 'nodejs-plain']}
link="https://github.com/maathias/auth"
image="https://user-images.githubusercontent.com/24920514/172725558-dcb40535-f13e-4f8e-852f-2c573b606ff1.png"
image="https://github.com/Maathias/auth/raw/master/docs/example.png"
>
Cross subdomain log in page. Made to easily integrate socials
accounts into one username&password, for all custom services on a
View File
Whitespace-only changes.