Skip to content

Commit 675be1a

Browse files
committed
migration to tutorials
1 parent 3e8fbc4 commit 675be1a

29 files changed

Lines changed: 16 additions & 40 deletions

File tree

.github/workflows/production.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: reference.groupdocs.com(tutorials-home)(family)(Production)
3+
name: tutorials.groupdocs.com(tutorials-home)(family)(Production)
44

55
# Controls when the action will run.
66
on:
@@ -35,10 +35,10 @@ jobs:
3535
- name: Checkout theme repo
3636
uses: actions/checkout@main
3737
with:
38-
repository: groupdocs/api-theme
38+
repository: groupdocs/tutorials-theme
3939
token: ${{ secrets.REPO_TOKEN }}
4040
fetch-depth: 0
41-
path: themes/api-theme
41+
path: themes/tutorials-theme
4242
# Step 2 - Sets up the latest version of Hugo
4343
- name: Setup Hugo
4444
uses: peaceiris/actions-hugo@v2
@@ -53,7 +53,7 @@ jobs:
5353
- name: Build
5454
run: hugo --configDir config/home --environment production --minify
5555

56-
- name: Deploy apireference2.groupdocs.com(tutorials-home)(family)(Production) to S3
56+
- name: Deploy apiqa-tutorials.groupdocs.com(tutorials-home)(family)(Production) to S3
5757
run: hugo --configDir config/home --environment production deploy --target "Production" --maxDeletes 0
5858
env:
5959
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
@@ -63,7 +63,7 @@ jobs:
6363
uses: chetan/invalidate-cloudfront-action@v2
6464
env:
6565
DISTRIBUTION: ${{ secrets.AWS_DISTRIBUTION_PROD }}
66-
PATHS: /tutorials/home/*
66+
PATHS: /index.html
6767
AWS_REGION: 'us-west-2'
6868
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
6969
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}

.github/workflows/staging.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: reference2.groupdocs.com(tutorials-home)(family)(Stage)
3+
name: qa-tutorials.groupdocs.com(tutorials-home)(family)(Stage)
44

55
# Controls when the action will run.
66
on:
@@ -35,11 +35,11 @@ jobs:
3535
- name: Checkout theme repo
3636
uses: actions/checkout@main
3737
with:
38-
repository: groupdocs/api-theme
38+
repository: groupdocs/tutorials-theme
3939
token: ${{ secrets.REPO_TOKEN }}
4040
ref: beta
4141
fetch-depth: 0
42-
path: themes/api-theme
42+
path: themes/tutorials-theme
4343
# Step 2 - Sets up the latest version of Hugo
4444
- name: Setup Hugo
4545
uses: peaceiris/actions-hugo@v2
@@ -54,7 +54,7 @@ jobs:
5454
- name: Build
5555
run: hugo --configDir config/home --environment staging --minify
5656

57-
- name: Deploy apireference2.groupdocs.com(tutorials-home)(family)(Stage) to S3
57+
- name: Deploy apiqa-tutorials.groupdocs.com(tutorials-home)(family)(Stage) to S3
5858
run: hugo --configDir config/home --environment staging deploy --target "Stage" --maxDeletes 0
5959
env:
6060
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
@@ -64,7 +64,7 @@ jobs:
6464
uses: chetan/invalidate-cloudfront-action@v2
6565
env:
6666
DISTRIBUTION: ${{ secrets.AWS_DISTRIBUTION }}
67-
PATHS: /tutorials/home/*
67+
PATHS: /index.html
6868
AWS_REGION: 'us-west-2'
6969
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
7070
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}

config/home/_default/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ enableGitInfo = true
66
disableKinds = ["taxonomy", "taxonomyTerm", "page", "RSS"]
77

88
# Hugo allows theme composition (and inheritance). The precedence is from left to right.
9-
theme = ["api-theme"]
9+
theme = ["tutorials-theme"]
1010

1111
[params.menu]
1212
zh = "groupdocs-zh"

config/home/production/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
baseURL = "https://reference.groupdocs.com/tutorials"
1+
baseURL = "https://tutorials.groupdocs.com/tutorials"
22

33
# Google Tag Manager settings
44
[params.gtm]
55
gtm_id = "GTM-WZTNN8"
66

77
[[deployment.targets]]
88
name = "Production"
9-
URL = "s3://reference.groupdocs.com/?prefix=tutorials/&region=us-west-2"
9+
URL = "s3://tutorials.groupdocs.com/?region=us-west-2"

config/home/staging/config.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
baseURL = "https://reference2.groupdocs.com/tutorials"
1+
baseURL = "https://qa-tutorials.groupdocs.com/tutorials"
22

33
[[deployment.targets]]
44
name = "Stage"
5-
URL = "s3://reference2.groupdocs.com/?prefix=tutorials/&region=us-west-2"
6-
5+
URL = "s3://qa-tutorials.groupdocs.com/?region=us-west-2"
76

87

content/arabic/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: البرامج التعليمية ومقتطفات التعليمات البرمجية
33
additionalTitle: مراجع واجهة برمجة تطبيقات GroupDocs
44
description: البرامج التعليمية ومقتطفات التعليمات البرمجية لمنتجات GroupDocs مثل GroupDocs.Viewer وGroupDocs.Annotation وGroupDocs.Conversion ومنتجات أخرى.
5-
type: docs
65
weight: 10
76
url: /ar/
87
---

content/chinese/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: 教程和代码片段
33
additionalTitle: GroupDocs API 参考
44
description: GroupDocs 产品(例如 GroupDocs.Viewer、GroupDocs.Annotation、GroupDocs.Conversion 和其他产品)的教程和代码片段。
5-
type: docs
65
weight: 10
76
url: /zh/
87
---

content/czech/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Návody a úryvky kódu
33
additionalTitle: Reference API GroupDocs
44
description: Výukové programy a úryvky kódu produktů GroupDocs, jako jsou GroupDocs.Viewer, GroupDocs.Annotation, GroupDocs.Conversion a další produkty.
5-
type: docs
65
weight: 10
76
url: /cs/
87
---

content/dutch/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Tutorials en codefragmenten
33
additionalTitle: GroupDocs API-referenties
44
description: Tutorials en codefragmenten van GroupDocs-producten zoals GroupDocs.Viewer, GroupDocs.Annotation, GroupDocs.Conversion en andere producten.
5-
type: docs
65
weight: 10
76
url: /nl/
87
---

content/english/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Tutorials and Code-snippets
33
additionalTitle: GroupDocs API References
44
description: Tutorials and code-snippets of GroupDocs Products such as GroupDocs.Viewer, GroupDocs.Annotation, GroupDocs.Conversion, and other products.
5-
type: docs
65
weight: 10
76
url: /
87
---

0 commit comments

Comments
 (0)