File tree Expand file tree Collapse file tree 5 files changed +98
-2
lines changed Expand file tree Collapse file tree 5 files changed +98
-2
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ types :
9
+ - closed
10
+ branches :
11
+ - main
12
+
13
+ jobs :
14
+ deploy :
15
+ if : github.event.pull_request.merged == true || github.event_name == 'push'
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - name : Setup Node.js
21
+ uses : actions/setup-node@v4
22
+ with :
23
+ node-version : ' 20'
24
+ cache : ' npm'
25
+
26
+ - name : Install dependencies
27
+ run : npm install
28
+
29
+ - name : Build website
30
+ run : npm run build
31
+
32
+ - name : Deploy to GitHub Pages
33
+ uses : peaceiris/actions-gh-pages@v3
34
+ with :
35
+ github_token : ${{ secrets.GITHUB_TOKEN }}
36
+ publish_dir : ./build
37
+ publish_branch : gh-pages
38
+ user_name : ' github-actions[bot]'
39
+ user_email : ' github-actions[bot]@users.noreply.github.com'
40
+ full_commit_message : ' deploy: ${{ github.event.head_commit.message }}'
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ title : 'DevOps Interview Questions' ,
3
+ tagline : 'Comprehensive DevOps interview preparation guide' ,
4
+ url : 'https://your-username.github.io' ,
5
+ baseUrl : '/devops-interview-questions/' ,
6
+ onBrokenLinks : 'throw' ,
7
+ onBrokenMarkdownLinks : 'warn' ,
8
+ favicon : 'img/favicon.ico' ,
9
+ organizationName : 'your-username' ,
10
+ projectName : 'devops-interview-questions' ,
11
+
12
+ presets : [
13
+ [
14
+ '@docusaurus/preset-classic' ,
15
+ {
16
+ docs : {
17
+ sidebarPath : require . resolve ( './sidebars.js' ) ,
18
+ editUrl : 'https://github.com/your-username/devops-interview-questions/edit/main/' ,
19
+ } ,
20
+ theme : {
21
+ customCss : require . resolve ( './src/css/custom.css' ) ,
22
+ } ,
23
+ } ,
24
+ ] ,
25
+ ] ,
26
+ } ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " devops-interview-questions" ,
3
+ "version" : " 1.0.0" ,
4
+ "private" : true ,
5
+ "scripts" : {
6
+ "start" : " docusaurus start" ,
7
+ "build" : " docusaurus build" ,
8
+ "serve" : " docusaurus serve"
9
+ },
10
+ "dependencies" : {
11
+ "@docusaurus/core" : " ^3.1.1" ,
12
+ "@docusaurus/preset-classic" : " ^3.1.1" ,
13
+ "react" : " ^18.2.0" ,
14
+ "react-dom" : " ^18.2.0"
15
+ }
16
+ }
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ docs : [
3
+ {
4
+ type : 'category' ,
5
+ label : 'DevOps Questions' ,
6
+ items : [
7
+ 'core-concepts/introduction' ,
8
+ 'containerization/docker' ,
9
+ 'containerization/kubernetes' ,
10
+ 'ci-cd/basics' ,
11
+ 'infrastructure/terraform' ,
12
+ 'monitoring/overview'
13
+ ] ,
14
+ } ,
15
+ ] ,
16
+ } ;
You can’t perform that action at this time.
0 commit comments