Skip to content

test: update the workflow name #5

test: update the workflow name

test: update the workflow name #5

name: Deploy preview for PR
on:
pull_request:
branches: [develop]
permissions:
contents: read
id-token: write
pull-requests: write
env:
HUGO_BASEURL: "https://preview-developer.espressif.com/pr${{ github.event.pull_request.number }}/" # Use pull_request directly
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Debug: List workflow details

Check failure on line 20 in .github/workflows/pr-deploy-preview-develop.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-deploy-preview-develop.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
run: |
echo "Pull request number: ${{ github.event.pull_request.number }}"
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: public-folder
path: ./public