mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 20:49:15 +00:00
fix(bot): 🐛 body undefined
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -69,6 +69,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{github.event.after}}
|
ref: ${{github.event.after}}
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
@@ -101,16 +102,8 @@ jobs:
|
|||||||
id: vars
|
id: vars
|
||||||
run: echo "commit=$(git log --format=%B -n 1 ${{github.event.after}})" >> $GITHUB_OUTPUT
|
run: echo "commit=$(git log --format=%B -n 1 ${{github.event.after}})" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Add and commit changes to gh-pages branch
|
- name: Commit & Push changes
|
||||||
run: |
|
uses: actions-js/push@master
|
||||||
git config --global user.email 'action@github.com'
|
|
||||||
git config --global user.name 'GitHub Action'
|
|
||||||
git add packages/provider
|
|
||||||
git add starters/apps
|
|
||||||
|
|
||||||
- name: Commit Versioning & Push changes
|
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
|
||||||
with:
|
with:
|
||||||
commit_message: '${{ steps.vars.outputs.commit }}'
|
|
||||||
branch: feature/providers-major
|
branch: feature/providers-major
|
||||||
push_options: '--force'
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user