learn 2 linux

This commit is contained in:
Loren Norman 2024-07-03 08:11:51 -04:00
parent 535e5d931a
commit a68718d27d

View file

@ -40,11 +40,7 @@ jobs:
return branchNames
# - name: Get result
# run: echo 'branches=["red", "green", "blue"]' >> "$GITHUB_OUTPUT"
# run: echo "${{fromJson(steps.list-all-branches.outputs.result)}}"
# build each branch into dist/branch and uploads
# fan out and build every branch, upload each as an artifact
build:
runs-on: ubuntu-latest
needs:
@ -73,6 +69,7 @@ jobs:
path: './dist'
name: ${{ matrix.branch }}
# reduce artifacts to a single deployment
deploy:
environment:
name: github-pages
@ -87,7 +84,7 @@ jobs:
path: './dist'
- name: Move main into primary spot and verify
run: |
cp -R dist/main/ dist
mv dist/main/* dist
rm -rf dist/main
ls -la dist