Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
emawby committed Nov 15, 2023
1 parent e38d83f commit f851822
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: iOS CD

on:
push:
branches:
- 'add_cd'

workflow_dispatch:
inputs:
version:
Expand All @@ -9,6 +13,8 @@ on:
required: true
permissions:
contents: write
env:
version: '5.0.6'

jobs:
build:
Expand All @@ -34,7 +40,7 @@ jobs:
shell: bash
- name: Commit Changes
env:
version: ${{ inputs.version }}
version: $version
run: |
git config --local user.email "[email protected]"
git config --local user.name "SyncR 🤖"
Expand All @@ -47,18 +53,18 @@ jobs:
# github_token: ${{ secrets.ACTION_TOKEN_PAT }}
repository: 'OneSignal/OneSignal-iOS-SDK'
force: true
branch: ${{ inputs.version }}
branch: $version

- name: "Submitting PR"
uses: octokit/[email protected]
with:
route: POST /repos/{owner}/{repo}/pulls
owner: OneSignal
repo: OneSignal-iOS-SDK
head: ${{ inputs.version }}
head: $version
base: main
title: |
"Release ${{ inputs.version }}"
"Release $version"
body: |
"Add Release Notes For Review Here"
# env:
Expand Down

0 comments on commit f851822

Please sign in to comment.