[bin-build] Update build process to conditionally copy jsdoc and depl… #140
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | Publish gitlab repository package | |
| on: [push] | |
| jobs: | |
| pwa-microservices-template: | |
| if: github.repository == 'underpostnet/pwa-microservices-template' && startsWith(github.event.head_commit.message, 'ci(package-pwa-microservices-template-ghpkg)') | |
| name: Update gitlab repo package Jobs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to GitLab | |
| run: | | |
| git remote add gitlab https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/underpostnet/pwa-microservices-template.git | |
| git lfs install | |
| git lfs fetch --all | |
| git lfs push --all gitlab | |
| git push gitlab HEAD:main --force | |
| git push gitlab --force --tags |