Merge branch 'main' of https://github.com/MRoehricht/SEVEN #60
This file contains 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 Build and publish Dashboard | |
on: | |
push: | |
paths: | |
- 'SEVEN.MissionControl.Dashboard/src/**' | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- run: git config --global user.name 'MRoehricht' | |
- run: git config --global user.email '${{ secrets.EMAIL }}' | |
- run: npm version patch -m "[MAIN] %s" | |
working-directory: ./SEVEN.MissionControl.Dashboard | |
- run: git add "SEVEN.MissionControl.Dashboard/package.json" | |
- run: git commit -m "Update Dashboard Version" | |
- run: git push origin | |
- | |
name: Build and publish "latest" Docker image | |
uses: VaultVulp/gp-docker-action@1.6.0 | |
with: | |
github-token: '${{ secrets.PACKAGE_TOKEN }}' | |
image-name: seven.missioncontrol-dashboard | |
build-context: ./SEVEN.MissionControl.Dashboard |