Skip to content

Commit

Permalink
sync test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdibha committed Nov 18, 2023
1 parent c84b2e8 commit a2e3a2f
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/notionfolio-sync.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
name: Push File
name: sync notionfolio

on: push

jobs:
copy-file:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Pushes test folder
uses: datalbry/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with:
source_folder: 'src/app'
destination_repo: 'mehdibha/notionfolio'
destination_folder: 'src/app/[domain]/notionfolio'
destination_branch_create: 'folio-test'
user_email: '[email protected]'
user_name: 'mehdibha'
commit_msg: '[GHA] Bot update.'
- uses: actions/checkout@v2
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with:
source-directory: "src/app"
destination-github-username: "mehdibha"
destination-repository-name: "notionfolio"
user-email: [email protected]
target-branch: main
create-target-branch-if-needed: true

1 comment on commit a2e3a2f

@vercel
Copy link

@vercel vercel bot commented on a2e3a2f Nov 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.