Compare commits

...

4 Commits

Author SHA1 Message Date
fkwp
9e3b3e847f Merge branch 'livekit' into fkwp-patch-1 2024-04-11 13:45:13 +02:00
fkwp
2314417397 we dont need prdetails going forward 2024-04-11 11:40:45 +00:00
fkwp
b2aa3adda3 use default for enable-pull-request-comment and enable-commit-comment 2024-04-11 09:36:15 +00:00
fkwp
a287d0671b use pull_request event rather than workflow_run 2024-04-11 09:30:43 +00:00

View File

@@ -28,17 +28,11 @@ jobs:
step: start step: start
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
env: Netlify env: Netlify
ref: ${{ github.ref || github.head_ref }} ref: ${{ github.event.pull_request.head.sha || github.ref || github.head_ref }}
desc: | desc: |
Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Do you trust the author of this PR? Maybe this build will steal your keys or give you malware.
Exercise caution. Use test accounts. Exercise caution. Use test accounts.
- id: prdetails
uses: matrix-org/pr-details-action@v1.3
with:
owner: ${{ github.event.pull_request.head.repo.owner.login }}
branch: ${{ github.event.pull_request.head.ref }}
- name: 📥 Download artifact - name: 📥 Download artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
@@ -58,7 +52,7 @@ jobs:
with: with:
publish-dir: webapp publish-dir: webapp
deploy-message: "Deploy from GitHub Actions" deploy-message: "Deploy from GitHub Actions"
alias: pr${{ steps.prdetails.outputs.pr_id }} alias: pr${{ github.event.pull_request.number }}
env: env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}