Skip to content

Create docker-image.yml #4

Create docker-image.yml

Create docker-image.yml #4

Workflow file for this run

name: Example Integration on Pull Request
on:
pull_request_target:
branches:
- main
types:
- closed
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Plant a Tree
if: github.event.pull_request.merged == true
id: planttree
uses: protontypes/continuous-reforestation@main
with:
# Enter your API variables below
apikey: ${{ secrets.raaskey }}
enterpriseid: "cd7cedcd"
user: ${{ github.actor }}
treecount: 5
projectid: "14442771" # This projectid can be used to have your trees planted where they are needed the most.
production: "false"
- name: Response of digitalhumani.com RaaS API
run: |
echo "${{ steps.planttree.outputs.response }}"
echo "${{ steps.planttree.outputs.plantedTrees }}"