From b7f1eeda0ed1b6eb45e19d7228336154b8e68af2 Mon Sep 17 00:00:00 2001 From: Christopher Banck Date: Fri, 19 Apr 2024 19:35:35 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7319350 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +# This is a basic workflow to help you get started with Actions + +name: CI +permissions: + id-token: write # This is required for requesting the JWT + contents: read # This is required for actions/checkout + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + deploy: + name: password + runs-on: ubuntu-latest + steps: + - name: setup cf cli + uses: vchrisb/setup-cf@v0 + with: + api: ${{ secrets.CF_API }} + username: ${{ secrets.CF_USERNAME }} + password: ${{ secrets.CF_PASSWORD }} + org: test + space: dev + - name: access cloud foundry api + run: cf push