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