Skip to content

Commit 58af259

Browse files
committed
fix: can deploy smalruby.app with deploy key
1 parent 79d7fb9 commit 58af259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
path: ./test-results/*
171171
deploy-gh-pages:
172172
needs: [test-integration, test-unit]
173-
if: (!(startsWith(github.ref, 'refs/heads/dependabot/') || startsWith(github.ref, 'refs/heads/renovate/')))
173+
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/'))
174174
runs-on: ubuntu-latest
175175
steps:
176176
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
@@ -195,7 +195,7 @@ jobs:
195195
- name: Deploy playground to Smalruby.app GitHub Pages
196196
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
197197
with:
198-
github_token: ${{ secrets.GITHUB_TOKEN }}
198+
deploy_key: ${{ secrets.SMALRUBY_APP_DEPLOY_KEY }}
199199
publish_dir: ./build
200200
full_commit_message: "Build for ${{ github.sha }} ${{ github.event.head_commit.message }}"
201201
cname: smalruby.app

0 commit comments

Comments
 (0)