Skip to content

Commit

Permalink
add githubpages
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Apr 29, 2023
1 parent b41020c commit 1ce75e3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const list: TechItem[] = [
{ key: 'gcp', name: 'GCP', type: 'hosting' },
{ key: 'github', name: 'Github', type: 'tool' },
{ key: 'githubactions', name: 'Github Actions', type: 'ci' },
{ key: 'githubpages', name: 'Github Pages', type: 'hosting' },
{ key: 'golang', name: 'Go', type: 'language' },
{ key: 'hotjar', name: 'Hotjar', type: 'sass' },
{ key: 'html', name: 'HTML', type: 'language' },
Expand Down
1 change: 1 addition & 0 deletions src/rules/hosting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ describe('npm', () => {
expect(res.toJson().techs).toStrictEqual([
'expodev',
'flyio',
'githubpages',
'netlify',
'render',
'vercel',
Expand Down
6 changes: 6 additions & 0 deletions src/rules/hosting/githubpages.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { register } from '../../rules';

register({
tech: 'githubpages',
files: ['_config.yml'],
});
1 change: 1 addition & 0 deletions src/rules/hosting/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './expodev';
import './flyio';
import './githubpages';
import './netlify';
import './render';
import './vercel';
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export type AllowedKeys =
| 'gcp'
| 'github'
| 'githubactions'
| 'githubpages'
| 'golang'
| 'hotjar'
| 'html'
Expand Down

0 comments on commit 1ce75e3

Please sign in to comment.