mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Update deploy-preview.yml (#4453)
This commit is contained in:
parent
4a9cfe6b2f
commit
42ad93cff8
1 changed files with 11 additions and 2 deletions
13
.github/workflows/deploy-preview.yml
vendored
13
.github/workflows/deploy-preview.yml
vendored
|
@ -32,9 +32,18 @@ jobs:
|
|||
- run: yarn install
|
||||
- run: yarn build
|
||||
|
||||
- name: Deploy
|
||||
- name: Deploy to Cloudflare
|
||||
id: deploy
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }}
|
||||
command: pages deploy src/dist --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --commit-dirty=true
|
||||
|
||||
- name: Add deployment comment
|
||||
uses: thollander/actions-comment-pull-request@v3
|
||||
with:
|
||||
message: |
|
||||
Preview URL: ${{ steps.deploy.outputs.deployment-url }}
|
||||
reactions: eyes, rocket
|
||||
only-update: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue