test: update the workflow name #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
run: | | ||
echo "Pull request number: ${{ github.event.pull_request.number }}" | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: public-folder | ||
path: ./public |