Skip to content

Commit 400528f

Browse files
committed
Optimizations
1 parent 4996aa1 commit 400528f

File tree

994 files changed

+1026
-1147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

994 files changed

+1026
-1147
lines changed

.github/workflows/production.yml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,20 @@ jobs:
2222
# This workflow contains a single job called "build"
2323
build:
2424
# The type of runner that the job will run on
25-
runs-on: macos-latest
25+
runs-on: ubuntu-latest
2626

2727
# Steps represent a sequence of editor that will be executed as part of the job
2828
steps:
29+
# Free up disk space
30+
- name: Free Disk Space
31+
run: |
32+
sudo rm -rf /usr/share/dotnet
33+
sudo rm -rf /opt/ghc
34+
sudo rm -rf /usr/local/share/boost
35+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
36+
sudo apt-get clean
37+
df -h
38+
2939
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3040
- name: Checkout
3141
uses: actions/checkout@v2
@@ -38,26 +48,39 @@ jobs:
3848
repository: groupdocs/tutorials-theme
3949
token: ${{ secrets.REPO_TOKEN }}
4050
fetch-depth: 0
41-
path: themes/tutorials-theme
51+
path: themes/tutorials-theme
52+
- name: Install Theme Dependencies
53+
run: npm install
54+
working-directory: ./themes/tutorials-theme
4255
# Step 2 - Sets up the latest version of Hugo
4356
- name: Setup Hugo
44-
uses: peaceiris/actions-hugo@v2
57+
uses: peaceiris/actions-hugo@v3
4558
with:
46-
hugo-version: '0.97.3'
59+
hugo-version: 'latest'
4760
extended: true
4861
- name: Install Dependicies1
4962
run: npm install -D --save autoprefixer
5063
- name: Install Dependicies2
5164
run: npm install -D --save postcss-cli
65+
- name: Install Dependicies3
66+
run: npm install -D postcss
5267
# Also specifies the theme we want to use
5368
- name: Build
5469
run: hugo --configDir config/editor --environment production --minify
5570

56-
- name: Deploy apiqa-tutorials.groupdocs.com(tutorials-editor)(family)(Production) to S3
57-
run: hugo --configDir config/editor --environment production deploy --target "Production" --maxDeletes 0
58-
env:
59-
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
60-
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}
71+
# Configure AWS credentials
72+
- name: Configure AWS credentials
73+
uses: aws-actions/configure-aws-credentials@v4
74+
with:
75+
aws-access-key-id: ${{ secrets.ACCESS_KEY }}
76+
aws-secret-access-key: ${{ secrets.SECRET_ACCESS }}
77+
aws-region: us-west-2
78+
- name: Deploy to S3 using AWS CLI
79+
run: |
80+
aws s3 sync public/ s3://${{ secrets.S3_BUCKET }}/editor/ \
81+
--delete \
82+
--exclude "*.map" \
83+
--cache-control "public, max-age=3600"
6184
# Invalidate Cloudfront
6285
- name: invalidate
6386
uses: chetan/invalidate-cloudfront-action@v2
@@ -66,4 +89,4 @@ jobs:
6689
PATHS: /editor/*
6790
AWS_REGION: 'us-west-2'
6891
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
69-
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}
92+
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}

content/arabic/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ description: يمكنك تحرير المستندات بسهولة باستخد
66
weight: 11
77
url: /ar/
88
is_root: true
9+
type: docs
910
---
10-
1111
# فتح إدارة المستندات باستخدام GroupDocs.Editor
1212

1313

content/arabic/net/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ weight: 10
55
url: /ar/net/
66
description: إدارة المستندات وتحريرها باستخدام GroupDocs.Editor .NET. تعلم معالجة المستندات، وتحرير المستندات، واسترجاع محتوى HTML، وإدارة حقول النماذج، والمزيد!
77
is_root: true
8+
type: docs
89
---
9-
1010
# دروس وأمثلة لـ GroupDocs.Editor لـ .NET
1111

1212

content/arabic/net/css-handling/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ second_title: GroupDocs.Editor .NET API
55
description: تعرف على كيفية التعامل مع محتوى CSS بفعالية باستخدام GroupDocs.Editor لـ .NET. قم باستخراج محتوى CSS الخارجي والتعامل مع محتوى CSS باستخدام البادئات دون عناء.
66
weight: 21
77
url: /ar/net/css-handling/
8+
type: docs
89
---
9-
1010
# التعامل مع CSS
1111

1212

content/arabic/net/css-handling/get-external-css-content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ second_title: GroupDocs.Editor .NET API
55
description: تعرف على كيفية استخدام GroupDocs.Editor لـ .NET لاستخراج محتوى CSS خارجي من المستندات باستخدام هذا الدليل التفصيلي خطوة بخطوة. مثالي للمطورين الذين يقومون بدمج المستندات.
66
weight: 10
77
url: /ar/net/css-handling/get-external-css-content/
8+
type: docs
89
---
9-
1010
# احصل على محتوى CSS خارجي
1111

1212
## مقدمة

content/arabic/net/css-handling/handle-css-content-with-prefix/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ second_title: GroupDocs.Editor .NET API
55
description: تعرف على كيفية التعامل مع محتوى CSS باستخدام البادئة باستخدام Groupdocs.Editor لـ .NET في هذا البرنامج التعليمي المفصل خطوة بخطوة. مثالية للمطورين من جميع المستويات.
66
weight: 11
77
url: /ar/net/css-handling/handle-css-content-with-prefix/
8+
type: docs
89
---
9-
1010
# تعامل مع محتوى CSS باستخدام البادئة
1111

1212
## مقدمة

content/arabic/net/document-editing/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ second_title: GroupDocs.Editor .NET API
55
description: إدارة المستندات وتحريرها باستخدام GroupDocs.Editor .NET. تعرف على كيفية إنشاء المستندات وتحريرها وحفظها بسهولة. عزز سير عمل إدارة المستندات لديك اليوم!
66
weight: 20
77
url: /ar/net/document-editing/
8+
type: docs
89
---
9-
1010
# تحرير المستندات
1111

1212

content/arabic/net/document-editing/advanced-usage-of-editable-documents/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ second_title: GroupDocs.Editor .NET API
55
description: تعرف على الاستخدام المتقدم لـ GroupDocs.Editor لإنشاء الموارد من المستندات وتحريرها واستخراجها من المستندات برمجيًا.
66
weight: 11
77
url: /ar/net/document-editing/advanced-usage-of-editable-documents/
8+
type: docs
89
---
9-
1010
# الاستخدام المتقدم للمستندات القابلة للتحرير
1111

1212
## مقدمة

content/arabic/net/document-editing/create-document/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ second_title: GroupDocs.Editor .NET API
55
description: تعرف على كيفية تحرير مستندات Word وExcel وPowerPoint والكتب الإلكترونية والبريد الإلكتروني باستخدام GroupDocs.Editor لـ .NET باستخدام هذا البرنامج التعليمي الشامل خطوة بخطوة.
66
weight: 10
77
url: /ar/net/document-editing/create-document/
8+
type: docs
89
---
9-
1010
# إنشاء مستند
1111

1212
## مقدمة

content/arabic/net/document-editing/create-editable-document-from-html/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ second_title: GroupDocs.Editor .NET API
55
description: قم بتحويل HTML إلى مستندات Word قابلة للتحرير باستخدام GroupDocs.Editor لـ .NET باستخدام هذا الدليل التفصيلي خطوة بخطوة. مثالية لتبسيط سير عمل إدارة المستندات الخاصة بك.
66
weight: 10
77
url: /ar/net/document-editing/create-editable-document-from-html/
8+
type: docs
89
---
9-
1010
# إنشاء مستند قابل للتحرير من HTML
1111

1212
## مقدمة

0 commit comments

Comments
 (0)