Skip to content

Commit

Permalink
CLDR-17803 docs/site: announce URL
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Aug 27, 2024
1 parent 393da1d commit e037a6e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,19 @@ jobs:
- name: Build cldr.pages.dev
run: 'cd docs/site && jekyll build'
- name: Deploy cldr.pages.dev
id: deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy ./_site --project-name=cldr
- name: Add deploy comment to PR
uses: actions/github-script@v7
with:
script: |
github.rest.issues.CreateComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `✨ deployed to <${{ steps.deploy.outputs.deployment-url }}>`
})

0 comments on commit e037a6e

Please sign in to comment.