Skip to content

Commit

Permalink
Fix conflicting screenshot file names in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Jun 2, 2024
1 parent 47c4e6d commit 06745f2
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ jobs:
with:
node-version: latest

# index page
- name: Deploy index page
run: |
mkdir -p deploy
cp -r index.html style.css 1-digital-business-card/screenshot.png 2-travel-journal/screenshot.png 3-quizzical/screenshot-start.png 3-quizzical/screenshot-questions.png 3-quizzical/screenshot-answers.png deploy/
# digital-business-card project
- name: Build digital-business-card
run: |
Expand Down Expand Up @@ -60,6 +54,15 @@ jobs:
mkdir -p deploy/3-quizzical
cp -r 3-quizzical/dist/* deploy/3-quizzical/
# index page and assets
- name: Deploy index page and assets
run: |
mkdir -p deploy
cp -r index.html style.css deploy/
cp -r 1-digital-business-card/screenshot.png deploy/1-digital-business-card/
cp -r 2-travel-journal/screenshot.png deploy/2-travel-journal/
cp -r 3-quizzical/screenshot-start.png 3-quizzical/screenshot-questions.png 3-quizzical/screenshot-answers.png deploy/3-quizzical/
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
Expand Down

0 comments on commit 06745f2

Please sign in to comment.