Skip to content

Commit

Permalink
test add workflow to test artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
f-hollow committed Dec 10, 2024
1 parent 8620f3a commit 0a35549
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pr-test-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test artifacts

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

0 comments on commit 0a35549

Please sign in to comment.