From 4d4b6c7692ddb70be971d2f260545931086e6cd9 Mon Sep 17 00:00:00 2001 From: Christopher Haar Date: Mon, 4 Nov 2024 16:04:35 +0100 Subject: [PATCH] feat(ci): add ci workflow and adopt .gitignore Signed-off-by: Christopher Haar --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yaml 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