Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vchrisb authored Apr 19, 2024
1 parent 5a3762a commit b7f1eed
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b7f1eed

Please sign in to comment.