diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 90688ffbcb..6adf42c8da 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -103,14 +103,34 @@ jobs: cp -R examples itowns/ cp -R buildDocs itowns/docs - # Deploy to itowns.github.io - - name: Deploy to itowns.github.io + # 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 - destination_dir: ./itowns + 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 + 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_branch: master enable_jekyll: true