Skip to content

Commit 0d2d50d

Browse files
committed
get rid of deprecated action
1 parent 85822ee commit 0d2d50d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/createNewAtomicSandBoxDemo.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- run: 'echo "payload: ${{ toJson(github.event.client_payload) }}"'
1515
- name: Make a new Branch
16-
uses: peterjgrainger/action-create-branch@b48b0ca0e307c9b56f059b70274984ffeaa90a43
16+
run: |
17+
git checkout -b "${{ github.event.client_payload.atomic_version }}"
1718
env:
1819
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19-
with:
20-
branch: "${{ github.event.client_payload.atomic_version }}"
2120
- name: Checkout new branch
2221
uses: actions/checkout@v2
2322
with:
@@ -33,4 +32,4 @@ jobs:
3332
git status
3433
git add index.html
3534
git commit -m "updated version"
36-
git push
35+
git push

0 commit comments

Comments
 (0)