From c8bc165fc7d99b1301c829b6f449af788bcec206 Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Mon, 21 Jun 2021 21:46:13 +0200 Subject: [PATCH 1/6] Create gitlab-ci.md --- guides/Deployment/gitlab-ci.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 guides/Deployment/gitlab-ci.md diff --git a/guides/Deployment/gitlab-ci.md b/guides/Deployment/gitlab-ci.md new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/guides/Deployment/gitlab-ci.md @@ -0,0 +1 @@ + From fa746b856234008d74275ff0cab267c222c3999f Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Mon, 21 Jun 2021 21:48:57 +0200 Subject: [PATCH 2/6] Rename guides/Deployment/gitlab-ci.md to guides/deployment/gitlab-ci.md --- guides/{Deployment => deployment}/gitlab-ci.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename guides/{Deployment => deployment}/gitlab-ci.md (100%) diff --git a/guides/Deployment/gitlab-ci.md b/guides/deployment/gitlab-ci.md similarity index 100% rename from guides/Deployment/gitlab-ci.md rename to guides/deployment/gitlab-ci.md From 9119c55ed1c842508c505b7b4ce1a74f292d7a2c Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Mon, 21 Jun 2021 21:49:12 +0200 Subject: [PATCH 3/6] Rename guides/github-actions.md to guides/deployment/github-actions.md --- guides/{ => deployment}/github-actions.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename guides/{ => deployment}/github-actions.md (100%) diff --git a/guides/github-actions.md b/guides/deployment/github-actions.md similarity index 100% rename from guides/github-actions.md rename to guides/deployment/github-actions.md From ecb81fd05c178bdfc2402c2113ae79d40eeced84 Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Mon, 21 Jun 2021 21:49:31 +0200 Subject: [PATCH 4/6] Update github-actions.md --- guides/deployment/github-actions.md | 1 - 1 file changed, 1 deletion(-) diff --git a/guides/deployment/github-actions.md b/guides/deployment/github-actions.md index a033c67ef..94ff26d8b 100644 --- a/guides/deployment/github-actions.md +++ b/guides/deployment/github-actions.md @@ -1,5 +1,4 @@ --- -icon: git-compare tags: [guide] --- # GitHub Actions From 44a5fb479e124ca131a1bfd17159802c93e07746 Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Mon, 21 Jun 2021 21:50:07 +0200 Subject: [PATCH 5/6] Create index.yml --- guides/deployment/index.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 guides/deployment/index.yml diff --git a/guides/deployment/index.yml b/guides/deployment/index.yml new file mode 100644 index 000000000..be5d93398 --- /dev/null +++ b/guides/deployment/index.yml @@ -0,0 +1 @@ +icon: git-compare From dc453029a6251f9100f1330f070cbea92af3269f Mon Sep 17 00:00:00 2001 From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> Date: Mon, 21 Jun 2021 21:55:50 +0200 Subject: [PATCH 6/6] [WIP] GitLab deployment --- guides/deployment/gitlab-ci.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/guides/deployment/gitlab-ci.md b/guides/deployment/gitlab-ci.md index 8b1378917..a06c3eb0c 100644 --- a/guides/deployment/gitlab-ci.md +++ b/guides/deployment/gitlab-ci.md @@ -1 +1,31 @@ +--- +tags: [guide] +--- +# GitLab CI +## Step 1: Add `gitlab-ci.yml` pipeline + +```yml +image: node:lts-buster # https://hub.docker.com/_/node + +before_script: + - npm install --global retypeapp # https://retype.com/guides/getting-started/ + +pages: + script: + - retype build + - mv .retype public # https://retype.com/configuration/project/#output + artifacts: + paths: + - public + only: + - master +``` + +## Step 2: Configure GitLab Pages + +## Summary + +- [x] Add a `gitlab-ci.yml` file, see [step 1](#step-1-add-gitlab-ciyml-workflow). +- [x] Configure GitLab Pages, see [step 2](#step-2-configure-gitlab-pages). +- [ ] todo