porter_stack_porter-ui.yml 914 B

12345678910111213141516171819202122232425262728293031323334353637
  1. "on":
  2. push:
  3. branches:
  4. - sms/test
  5. name: Deploy Porter to Internal Tooling
  6. jobs:
  7. build-go:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout code
  11. uses: actions/checkout@v3
  12. - name: build-go
  13. uses: ./.github/actions/build-go
  14. # build-npm:
  15. # runs-on: ubuntu-latest
  16. # steps:
  17. # - name: Checkout code
  18. # uses: actions/checkout@v3
  19. # - name: build-npm
  20. # uses: ./.github/actions/build-npm
  21. porter-deploy:
  22. runs-on: ubuntu-latest
  23. needs: [build-go]
  24. steps:
  25. - name: Checkout code
  26. uses: actions/checkout@v3
  27. - name: porter-deploy
  28. timeout-minutes: 30
  29. uses: ./.github/actions/porter-deploy
  30. with:
  31. app: porter-ui
  32. cluster: "11"
  33. host: https://dashboard.internal-tools.porter.run
  34. project: "8"
  35. token: ${{ secrets.PORTER_INTERNAL_TOOLS_DEPLOYMENT }}