Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c702ac24e | ||
|
|
0cfb212d59 | ||
|
|
00c27fb975 | ||
|
|
6b2a00b520 | ||
|
|
862cbb2af3 | ||
|
|
dc39faf8ce | ||
|
|
6423dee1fc | ||
|
|
a521d0062f | ||
|
|
0dd6c18862 | ||
|
|
84317c970a | ||
|
|
ac007b1c6e | ||
|
|
0ca7a6c6ee | ||
|
|
895409f91c | ||
|
|
5eb17003ae |
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
rules:
|
||||
eqeqeq: off
|
||||
react/jsx-no-target-blank: off
|
||||
react-hooks/exhaustive-deps: off
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user