fix: git workflow commands to push to repository (#2679)
This commit is contained in:
parent
c7944773d5
commit
78da36e8cd
1 changed files with 1 additions and 7 deletions
8
.github/workflows/fetch_docs_notion.yml
vendored
8
.github/workflows/fetch_docs_notion.yml
vendored
|
|
@ -55,17 +55,11 @@ jobs:
|
|||
env:
|
||||
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
|
||||
NOTION_DOCS_ROOT_PAGE_ID: ${{ secrets.NOTION_DOCS_ROOT_PAGE_ID }}
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git add .
|
||||
git commit -m "Update docs from Notion"
|
||||
|
||||
- name: Push changes
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
|
||||
git push
|
||||
|
||||
- name: Create Pull Request
|
||||
id: create_pr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue