trying again #117
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: bryce Deploy Thingy | |
on: [push] | |
jobs: | |
DeployingPipeline: | |
runs-on: brycelabel | |
steps: | |
- name: "clean things up" | |
run: | | |
pwd | |
cd ./ticketsrus-aaron-bryce-carlos/BryceDocker | |
docker compose down -v | |
cd ../../ | |
rm -rf ./ticketsrus-aaron-bryce-carlos | |
- name: "clone project" | |
run: git clone --branch separateBranch https://${{secrets.BRYCE_GITHUB_PAT}}@github.com/SnowSE/ticketsrus-aaron-bryce-carlos.git | |
#something1 | |
- name: "run the build command" | |
run: | | |
# cd ./ticketsrus-aaron-bryce-carlos/BryceDocker | |
# docker compose up --build -d | |
- name: "Push thingy" | |
run: | | |
cd ./ticketsrus-aaron-bryce-carlos/ | |
ls -la | |
docker build -t 144.17.92.12:5000/bryce2/blazor-web:1 . | |
docker push 144.17.92.12:5000/bryce2/blazor-web:1 | |
kubectl apply -f kube/ | |
# - name: "Integration Tests" | |
# run: | | |
# cd ./ticketsrus-aaron-bryce-carlos/TestTicket | |
# dotnet test | |
# - name: "Unit Test" | |
# run: | | |
# cd ./ticketsrus-aaron-bryce-carlos/UnitTest | |
# dotnet test | |
# - name: "linting" | |
# run: | | |
# cd ./ticketsrus-aaron-bryce-carlos | |
# dotnet format --verify-no-changes | |
# - name: "Teams Notification" | |
# uses: skitionek/notify-microsoft-teams@master | |
# if: always() | |
# with: | |
# webhook_url: ${{ secrets.BryceWebHook }} | |
# needs: ${{ toJson(needs) }} | |
# job: ${{ toJson(job) }} | |
# steps: ${{ toJson(steps) }} | |