Skip to content
This repository was archived by the owner on Jul 8, 2026. It is now read-only.
Merged
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
6 changes: 3 additions & 3 deletions docs/automations/ga-check.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

The workflow requires several environment variables to be set:

- `XATA_API_REFRESH_TOKEN`: Your Xata API refresh token (set as a GitHub secret)
- `XATA_API_KEY`: Your Xata API key (set as a GitHub secret)
- `XATA_ORGANIZATIONID`: Your Xata organization ID
- `XATA_PROJECTID`: Your Xata project ID
- `XATA_BRANCHID`: The ID of the main branch
Expand All @@ -58,8 +58,8 @@ The workflow requires several environment variables to be set:
If you have the Xata CLI configured with your project locally, you can obtain these values with the following commands:

```sh
# XATA_API_REFRESH_TOKEN
xata auth refresh-token
# XATA_API_KEY
xata keys organization create

# XATA_ORGANIZATIONID
xata organization get id
Expand Down
8 changes: 4 additions & 4 deletions docs/automations/ga-pr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:

env:
FORCE_COLOR: 3
XATA_API_REFRESH_TOKEN: ${{ secrets.XATA_API_REFRESH_TOKEN }}
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_ORGANIZATIONID: 123xyz
XATA_PROJECTID: prj_i3qsq56h3p3d3crnk7htnc75d0
XATA_BRANCHID: s99l2grl6d3nr1cqcbaaa5piic
Expand All @@ -40,7 +40,7 @@ permissions:

The workflow requires several environment variables to be set:

- `XATA_API_REFRESH_TOKEN`: Your Xata API refresh token (set as a GitHub secret)
- `XATA_API_KEY`: Your Xata API key (set as a GitHub secret)
- `XATA_ORGANIZATIONID`: Your Xata organization ID
- `XATA_PROJECTID`: Your Xata project ID
- `XATA_BRANCHID`: The ID of the main branch
Expand All @@ -50,8 +50,8 @@ The workflow requires several environment variables to be set:
If you have the Xata CLI configured with your project locally, you can obtain these values with the following commands:

```sh
# XATA_API_REFRESH_TOKEN
xata auth refresh-token
# XATA_API_KEY
xata keys organization create

# XATA_ORGANIZATIONID
xata organization get id
Expand Down
6 changes: 3 additions & 3 deletions docs/automations/kubernetes-clone.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ spec:
secretKeyRef:
name: xata-secrets
key: source-postgres-url
- name: XATA_API_REFRESH_TOKEN
- name: XATA_API_KEY
valueFrom:
secretKeyRef:
name: xata-secrets
key: XATA_API_REFRESH_TOKEN
key: XATA_API_KEY
- name: XATA_ORGANIZATIONID
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -108,7 +108,7 @@ The task requires several env variables. Assuming you have the xata CLI already
kubectl create secret generic xata-secrets \
--namespace xata-clone \
--from-literal=source-postgres-url="$RDS_URI" \
--from-literal=XATA_API_REFRESH_TOKEN="$(xata auth refresh-token)" \
--from-literal=XATA_API_KEY="$(xata keys organization create)" \
--from-literal=XATA_ORGANIZATIONID="$(xata organization get id)" \
--from-literal=XATA_PROJECTID="$(xata project get id)" \
--from-literal=XATA_BRANCHNAME="main" \
Expand Down