diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..d5c7897 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: Build and Deploy + +on: + push: + branches: + - main + pull_request: + +env: + UP_TOKEN: ${{ secrets.UP_TOKEN }} + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Run Up CLI Build and Push + if: env.UP_TOKEN != '' + uses: upbound/up-project-action@v1 + with: + up_token: ${{ secrets.UP_TOKEN }} + endpoint: https://private-cli.upbound.io + channel: main diff --git a/.gitignore b/.gitignore index 4ad6127..89f7895 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ _output .venv +.up