diff --git a/guides/github-actions.md b/guides/deployment/github-actions.md similarity index 99% rename from guides/github-actions.md rename to guides/deployment/github-actions.md index a033c67ef..94ff26d8b 100644 --- a/guides/github-actions.md +++ b/guides/deployment/github-actions.md @@ -1,5 +1,4 @@ --- -icon: git-compare tags: [guide] --- # GitHub Actions diff --git a/guides/deployment/gitlab-ci.md b/guides/deployment/gitlab-ci.md new file mode 100644 index 000000000..a06c3eb0c --- /dev/null +++ b/guides/deployment/gitlab-ci.md @@ -0,0 +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 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