Skip to content

Commit

Permalink
chore: deploy itowns and potree bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Dec 17, 2021
1 parent 870299f commit b104fd5
Showing 1 changed file with 15 additions and 25 deletions.
40 changes: 15 additions & 25 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,46 +91,36 @@ jobs:
name: Deploy to itowns.github.io
steps:
# Download artifact from build
- name: Download bundle
- name: Download bundle itowns
uses: actions/download-artifact@v2
with:
name: dist-itowns
- name: Download bundle potree
uses: dawidd6/action-download-artifact@v2
with:
workflow: intergration.yml
repo: iTowns/potree
name: dist-potree
# Copy files for deployment
- name: build site
run: |
mkdir -p itowns/dist
mkdir -p itowns/potree/build
mkdir -p itowns/potree/libs
cp -R dist/*.js itowns/dist/
cp -R examples itowns/
cp -R buildDocs itowns/docs
cp -R build itowns/potree/
cp -R libs itowns/potree/
# Deploy to itowns.github.io dist
- name: Deploy to itowns.github.io dist
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: iTowns/itowns.github.io
publish_dir: ./itowns/dist
destination_dir: ./itowns/dist
publish_branch: master
enable_jekyll: true
# Deploy to itowns.github.io examples
- name: Deploy to itowns.github.io examples
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: iTowns/itowns.github.io
publish_dir: ./itowns/examples
destination_dir: ./itowns/examples
publish_branch: master
enable_jekyll: true
# Deploy to itowns.github.io docs
- name: Deploy to itowns.github.io docs
# Deploy to itowns.github.io
- name: Deploy to itowns.github.io
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: iTowns/itowns.github.io
publish_dir: ./itowns/docs
destination_dir: ./itowns/docs
publish_dir: ./itowns
destination_dir: ./itowns
publish_branch: master
enable_jekyll: true

Expand Down

0 comments on commit b104fd5

Please sign in to comment.