Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
icon: git-compare
tags: [guide]
---
# GitHub Actions
Expand Down
31 changes: 31 additions & 0 deletions guides/deployment/gitlab-ci.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions guides/deployment/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
icon: git-compare