From 77ac583da7afd0241ed85c5bd0464da250b8f2ab Mon Sep 17 00:00:00 2001 From: Tommy Lundy Date: Wed, 24 Jun 2026 17:33:37 +0100 Subject: [PATCH 1/3] Update GitHub Actions checkout action version --- apps/docs/content/references/github-integration.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/references/github-integration.mdx b/apps/docs/content/references/github-integration.mdx index dd309926..c88b799a 100644 --- a/apps/docs/content/references/github-integration.mdx +++ b/apps/docs/content/references/github-integration.mdx @@ -121,7 +121,7 @@ As an alternative to direct integration, you can use GitHub Actions to manage yo steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Deploy with Zerops uses: zeropsio/actions@main From 22a6ea2e12fb49c02266859eb34e0bdf3ea895b4 Mon Sep 17 00:00:00 2001 From: Tommy Lundy Date: Wed, 24 Jun 2026 17:42:40 +0100 Subject: [PATCH 2/3] Add GitHub Actions workflow examples for Zerops Added examples of GitHub Actions workflows for deploying to Zerops, including a basic deployment and a tag-matching deployment. --- .../content/references/github-integration.mdx | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/apps/docs/content/references/github-integration.mdx b/apps/docs/content/references/github-integration.mdx index c88b799a..22dc9caf 100644 --- a/apps/docs/content/references/github-integration.mdx +++ b/apps/docs/content/references/github-integration.mdx @@ -106,6 +106,8 @@ As an alternative to direct integration, you can use GitHub Actions to manage yo 1. **Create Workflow Configuration** Create a new file at `.github/workflows/deploy.yaml` in your repository: + + Basic example: ```yaml name: Deploy to Zerops @@ -130,6 +132,31 @@ As an alternative to direct integration, you can use GitHub Actions to manage yo service-id: your-service-id ``` + Example with tag matching: + + ```yaml + name: Deploy to Zerops on Tag + + on: + push: + tags: + - 'v[0-9]+\.[0-9]+\.[0-9]+' # Example: v1.0.0, v2.3.4 + + jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Deploy with Zerops + uses: zeropsio/actions@main + with: + access-token: ${{ secrets.ZEROPS_TOKEN }} + service-id: your-service-id + ``` + 2. **Generate Access Token** - Navigate to [**Settings > Access Token Management**](https://app.zerops.io/settings/token-management) in your Zerops dashboard From 4e85354549a2331b1147ff1833aa778d76799788 Mon Sep 17 00:00:00 2001 From: Tommy Lundy Date: Sat, 27 Jun 2026 20:08:04 +0100 Subject: [PATCH 3/3] Update github-integration.mdx --- apps/docs/content/references/github-integration.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/references/github-integration.mdx b/apps/docs/content/references/github-integration.mdx index 22dc9caf..46d4844b 100644 --- a/apps/docs/content/references/github-integration.mdx +++ b/apps/docs/content/references/github-integration.mdx @@ -148,7 +148,7 @@ As an alternative to direct integration, you can use GitHub Actions to manage yo steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Deploy with Zerops uses: zeropsio/actions@main