Skip to content

Add release-on-merge GitHub Action - #25

Open
moranshe-max wants to merge 2 commits into
mainfrom
ci/release-workflow
Open

Add release-on-merge GitHub Action#25
moranshe-max wants to merge 2 commits into
mainfrom
ci/release-workflow

Conversation

@moranshe-max

Copy link
Copy Markdown
Collaborator

Summary

  • Adds .github/workflows/release.yml — runs npx wix release on push to main.
  • Authenticates via the WIX_CLI_TOKEN repo secret.
  • No PR preview workflow: this repo is public, so PR-triggered deploys would risk exposing the release secret to forks.

Test plan

  • After merge, the release workflow runs on main.
  • wix login --api-key succeeds with the configured WIX_CLI_TOKEN.
  • wix release completes and a new version is visible in the Wix dashboard.

🤖 Generated with Claude Code

- preview.yml: runs `wix preview` on PR open/sync, posts URL as a sticky comment on the PR (skips fork PRs).
- release.yml: runs `wix release` on push to main.
- Both build first, login via WIX_CLI_TOKEN, and pull Wix env via `wix env pull` before build.
- No third-party actions used — org policy blocks them. Uses raw git, pre-installed Node 20, and the `gh` CLI for PR comments.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@moranshe-max
moranshe-max force-pushed the ci/release-workflow branch from 35f226a to 690b87a Compare May 24, 2026 11:08
Temporary diagnostic to confirm which Wix account the API key is
issued for and which sites it can see. Helps narrow down whether
the env-pull permission failure is an account/site mismatch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant