Update pcb_render.yml
This commit is contained in:
1 parent
b7a5aa8960
commit
d05bd6ef33
1 file changed
+6
-4
@@ -78,10 +78,6 @@ jobs:
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
environment:
|
||||
name: github-pages-dev
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
||||
steps:
|
||||
- name: Download pcb-images artifact
|
||||
uses: actions/download-artifact@v4
|
||||
@@ -89,8 +85,14 @@ jobs:
|
||||
name: pcb-images
|
||||
path: images/
|
||||
|
||||
- name: Move images to /img directory
|
||||
run: |
|
||||
mkdir -p img # Create the img directory if it doesn't exist
|
||||
cp -r images/* img/ # Move the images into the img directory
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./images
|
||||
publish_branch: gh-pages-dev # Specify the target branch (gh-pages-dev in this case)
|
||||
Reference in new issue
Block a user