feat(openhands): add userProvisioning.enabled feature switch (#728) #163
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: Release to Replicated | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'replicated/**' | |
| - 'charts/**' | |
| - 'Makefile' | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: 'latest' | |
| - name: Install yq | |
| uses: mikefarah/yq@v4 | |
| - name: Install Replicated CLI | |
| run: | | |
| curl -s https://api.github.com/repos/replicatedhq/replicated/releases/latest \ | |
| | grep "browser_download_url.*linux_amd64.tar.gz" \ | |
| | cut -d : -f 2,3 \ | |
| | tr -d \" \ | |
| | wget -qi - | |
| mkdir -p /tmp/replicated-cli | |
| tar -xzf replicated_*_linux_amd64.tar.gz -C /tmp/replicated-cli replicated | |
| sudo mv /tmp/replicated-cli/replicated /usr/local/bin/ | |
| - name: Build and release to Replicated | |
| env: | |
| REPLICATED_APP: ${{ secrets.REPLICATED_APP }} | |
| REPLICATED_API_TOKEN: ${{ secrets.REPLICATED_API_TOKEN }} | |
| run: make release |