Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
0a1d4c2
jueves
fedecontegrand Nov 4, 2021
55b3db3
depl
fedecontegrand Nov 4, 2021
fee356c
r
fedecontegrand Nov 4, 2021
3cd442d
re
fedecontegrand Nov 4, 2021
4140f5f
jk
fedecontegrand Nov 4, 2021
986931c
sreqr
fedecontegrand Nov 4, 2021
77a51fa
ae
fedecontegrand Nov 4, 2021
14778ef
re
fedecontegrand Nov 4, 2021
dd862bc
iernes
fedecontegrand Nov 5, 2021
e8142bd
u
fedecontegrand Nov 5, 2021
9ec776f
i
fedecontegrand Nov 5, 2021
3d18223
k
fedecontegrand Nov 5, 2021
6857dcb
j
fedecontegrand Nov 5, 2021
bdc1251
y
fedecontegrand Nov 5, 2021
f385c92
o
fedecontegrand Nov 5, 2021
bc24da3
s
fedecontegrand Nov 5, 2021
d814698
ik
fedecontegrand Nov 5, 2021
def6c36
lo
fedecontegrand Nov 5, 2021
57f84dc
i
fedecontegrand Nov 5, 2021
d50e719
u
fedecontegrand Nov 5, 2021
3174d7f
u
fedecontegrand Nov 5, 2021
6a943ce
j
fedecontegrand Nov 5, 2021
51c4588
a
fedecontegrand Nov 5, 2021
a18b16d
re
fedecontegrand Nov 5, 2021
a6d5fa8
ki
fedecontegrand Nov 5, 2021
0501bde
contact data
fedecontegrand Nov 5, 2021
0b07b60
k
fedecontegrand Nov 6, 2021
2e21309
po
fedecontegrand Nov 6, 2021
441deb4
.env no ignorado
fedecontegrand Nov 6, 2021
97dc597
.env ignorado
fedecontegrand Nov 6, 2021
811b15e
e
fedecontegrand Nov 6, 2021
a5aa770
iu
fedecontegrand Nov 6, 2021
db38754
y
fedecontegrand Nov 6, 2021
2df66c2
jj
fedecontegrand Nov 6, 2021
c5847fe
d
fedecontegrand Nov 6, 2021
bf5f5a1
RESUME
fedecontegrand Nov 6, 2021
2120643
proyects out2
fedecontegrand Nov 6, 2021
10b3160
nombre y desc
fedecontegrand Nov 6, 2021
ad77d78
nombre pag
fedecontegrand Nov 6, 2021
80bc3c6
deploy env
fedecontegrand Nov 6, 2021
c4d9eb7
Create docker-image.yml
fedecontegrand Nov 6, 2021
dc8f2a2
Create npm-publish.yml
fedecontegrand Nov 6, 2021
5e3e546
Create docker-imageFINAL.yml
fedecontegrand Nov 6, 2021
1f26d9c
asdas
fedecontegrand Nov 6, 2021
ec549d1
Merge branch 'federico' of https://github.com/fedecontegrand/Develope…
fedecontegrand Nov 6, 2021
c9128dd
Create node.js.yml
fedecontegrand Nov 6, 2021
07d2074
Delete .github/workflows directory
fedecontegrand Nov 9, 2021
b914f6a
Create node.js.yml
fedecontegrand Nov 9, 2021
ec6d9f3
Update node.js.yml
fedecontegrand Nov 9, 2021
2d45ee9
Create main.yml
fedecontegrand Nov 9, 2021
b590165
Create main1.yml
fedecontegrand Nov 9, 2021
b47f9ee
Delete .github/workflows directory
fedecontegrand Nov 9, 2021
e5e6df8
Create main.yml
fedecontegrand Nov 9, 2021
fc51cc4
Create node.js.yml
fedecontegrand Nov 9, 2021
88c4ae6
fetch
fedecontegrand Nov 18, 2021
cf8cc58
Merge branch 'federico' of https://github.com/fedecontegrand/Develope…
fedecontegrand Nov 18, 2021
bcca317
limpiando
fedecontegrand Nov 18, 2021
bee8e94
a ver
fedecontegrand Nov 18, 2021
9812794
aver
fedecontegrand Nov 18, 2021
03b8511
e
fedecontegrand Nov 18, 2021
bfd9385
ere
fedecontegrand Nov 18, 2021
f961168
ki
fedecontegrand Nov 18, 2021
2ff6ee0
Create node1.js.yml
fedecontegrand Nov 18, 2021
325c736
Update node1.js.yml
fedecontegrand Nov 18, 2021
69cde2f
Update node1.js.yml
fedecontegrand Nov 18, 2021
d82377c
Update node1.js.yml
fedecontegrand Nov 18, 2021
e1e4e08
ok
fedecontegrand Nov 18, 2021
a1ed09b
Merge branch 'federico' of https://github.com/fedecontegrand/Develope…
fedecontegrand Nov 18, 2021
5c675d6
k
fedecontegrand Nov 18, 2021
1bcad2b
r
fedecontegrand Nov 18, 2021
87aceb9
ere
fedecontegrand Nov 18, 2021
734a4d3
k
fedecontegrand Nov 18, 2021
ae7bf7b
s
fedecontegrand Nov 18, 2021
08ac1a8
Update node1.js.yml
fedecontegrand Nov 18, 2021
6d16bce
rerer2
fedecontegrand Nov 18, 2021
c02764f
Merge branch 'federico' of https://github.com/fedecontegrand/Develope…
fedecontegrand Nov 18, 2021
3092b6b
iroe
fedecontegrand Nov 18, 2021
5b915fe
Update node1.js.yml
fedecontegrand Nov 18, 2021
89f7efe
Update node1.js.yml
fedecontegrand Nov 18, 2021
b285f56
New experience and CV link
fedecontegrand Mar 23, 2022
0432f5a
Merge branch 'federico' of https://github.com/fedecontegrand/Develope…
fedecontegrand Mar 23, 2022
8d762e4
fix dot
fedecontegrand Mar 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/ISSUE_TEMPLATE/bug-report---.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature-request---.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v1

- name: Build
run: |
npm install
npm run-script build
env:
REACT_APP_GITHUB_TOKEN: ${{ secrets.REACT_APP_GITHUB_TOKEN }}
USERNAME_GITHUB: ${{ secrets.USERNAME_GITHUB }}

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
REACT_APP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
53 changes: 28 additions & 25 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
name: Build and Deploy
env:
CI: false
GITHUB_USERNAME: ${{ github.repository_owner }}
REACT_APP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches:
- master
schedule:
- cron: "0 12 * * 1"
branches: [ federico ]
pull_request:
branches: [ federico ]

jobs:
build-and-deploy:
build:

runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false

- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm run build
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build # The folder the action should deploy.
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
always-auth: true
node-version: '12.x'
registry-url: https://registry.npmjs.org
scope: '@octocat'
- name: Install dependencies
run: npm ci
env:
REACT_APP_GITHUB_TOKEN: ${{secrets.REACT_APP_GITHUB_TOKEN}}
37 changes: 37 additions & 0 deletions .github/workflows/node1.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ federico ]
pull_request:
branches: [ federico ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
env:
TOKEN: ${{secrets.TOKEN}}
USERNAME_GITHUB: ${{secrets.USERNAME_GITHUB}}
- run: npm run build --if-present
env:
TOKEN: ${{secrets.TOKEN}}
USERNAME_GITHUB: ${{secrets.USERNAME_GITHUB}}
- run: npm test
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ yarn-error.log*

#user generated content
public/profile.json

.vercel
.env
.env
12 changes: 6 additions & 6 deletions fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ const https = require("https");
var process = require("process");
require("dotenv").config();

const GITHUB_TOKEN = process.env.REACT_APP_GITHUB_TOKEN;
const GITHUB_USERNAME = process.env.GITHUB_USERNAME;
const REACT_APP_GITHUB_TOKEN=process.env.TOKEN
const GITHUB_USERNAME = process.env.USERNAME_GITHUB;

if (GITHUB_USERNAME === undefined) {
throw "Github Username was found to be undefined. Please set an Environment variable.";
}

console.log(`fetching profile for ${GITHUB_USERNAME}`);
console.log(`fetching profile for fedecontegrand`);
var data = JSON.stringify({
query: `
{
user(login:"${GITHUB_USERNAME}") {
user(login:"fedecontegrand") {
name
bio
isHireable
Expand Down Expand Up @@ -52,7 +52,7 @@ const default_options = {
port: 443,
method: "POST",
headers: {
Authorization: `Bearer ${GITHUB_TOKEN}`,
Authorization: `token ${REACT_APP_GITHUB_TOKEN}`,
"User-Agent": "Node",
},
};
Expand All @@ -61,7 +61,7 @@ const req = https.request(default_options, (res) => {
let data = "";
console.log(`statusCode: ${res.statusCode}`);
if (res.statusCode != 200) {
throw "The request to Github didn't suceed. Maybe check Github Token?";
throw `Request went wrong`;
}

res.on("data", (d) => {
Expand Down
Loading