Skip to content

Commit

Permalink
feat: deploy 3
Browse files Browse the repository at this point in the history
  • Loading branch information
espressif2022 committed Jul 10, 2024
1 parent 6d2aaab commit fb3eaf5
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/build-examples-gh-pages-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,27 @@ concurrency:
cancel-in-progress: true

jobs:
empty-job:
job1:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- run: mkdir -p images
- name: Build examples
shell: bash
run: |
mv $GITHUB_WORKSPACE/bin/*.bin $GITHUB_WORKSPACE/images/
- name: Empty step
run: echo "This is an empty step"
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: build-images
path: images/

deploy:
# needs: [job1, job2]
needs: [job1]

environment:
name: github-pages
Expand All @@ -65,7 +75,7 @@ jobs:
- name: generate launchpad config
run: |
cd images/
mv $GITHUB_WORKSPACE/bin/*.bin ./
# mv $GITHUB_WORKSPACE/bin/*.bin ./
$GITHUB_WORKSPACE/tools/launchpad/rename.sh $GITHUB_WORKSPACE
$GITHUB_WORKSPACE/tools/launchpad/generate_launchpad_config.sh $GITHUB_REPOSITORY
Expand Down

0 comments on commit fb3eaf5

Please sign in to comment.