internal_tooling_stack_porter-ui.yml 756 B

1234567891011121314151617181920212223242526
  1. "on":
  2. push:
  3. branches:
  4. - master
  5. name: Deploy to Internal Tooling
  6. jobs:
  7. porter-deploy:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout code
  11. uses: actions/checkout@v3
  12. - name: Set Github tag
  13. id: vars
  14. run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
  15. - name: Deploy stack
  16. timeout-minutes: 30
  17. uses: porter-dev/porter-cli-action@v0.1.0
  18. with:
  19. command: apply -f nonexistant-porter.yaml
  20. env:
  21. PORTER_CLUSTER: "11"
  22. PORTER_HOST: https://dashboard.internal-tools.getporter.dev
  23. PORTER_PROJECT: "8"
  24. PORTER_STACK_NAME: porter-ui
  25. PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
  26. PORTER_TOKEN: ${{ secrets.PORTER_STACK_8_11 }}