Skip to content

Commit

Permalink
Merge branch 'feature/template-docusaurus'
Browse files Browse the repository at this point in the history
  • Loading branch information
npv2k1 committed Jul 24, 2023
2 parents 026e8e2 + 41a27ec commit 00fc5b0
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
name: Create Release

jobs:
generate-changelog:
name: Generate Changelog
publish:
name: Publish Release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
84 changes: 42 additions & 42 deletions .github/workflows/sub-module.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
on:
push:
branches: ['master']
workflow_dispatch:

name: Sync Submodule

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
sync-submodule:
name: Generate Changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Pull all submodule
run: git submodule update --init --recursive

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Setup Git
run: |
git config user.name '${{secrets.MAINTAINER_NAME}}'
git config user.email '${{secrets.MAINTAINER_EMAIL}}'
- name: Sync submodule
run: |
git submodule update --remote --merge
# on:
# push:
# branches: ['master']
# workflow_dispatch:

# name: Sync Submodule

# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# jobs:
# sync-submodule:
# name: Sync Submodule
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Pull all submodule
# run: git submodule update --init --recursive

# - name: Setup Node.js
# uses: actions/setup-node@v2
# with:
# node-version: "16"

# - name: Setup Git
# run: |
# git config user.name '${{secrets.MAINTAINER_NAME}}'
# git config user.email '${{secrets.MAINTAINER_EMAIL}}'

# - name: Sync submodule
# run: |
# git submodule update --remote --merge

- name: Create pull request
run: |
git add .
git checkout -b sync-submodule
git config pull.rebase false
git pull origin sync-submodule
git push --set-upstream origin sync-submodule
gh pr create --title "Sync submodule" --body "Sync submodule" --base master --head sync-submodule --repo ${{ github.repository }}
# - name: Create pull request
# run: |
# git add .
# git checkout -b sync-submodule
# git config pull.rebase false
# git pull origin sync-submodule
# git push --set-upstream origin sync-submodule
# gh pr create --title "Sync submodule" --body "Sync submodule" --base master --head sync-submodule --repo ${{ github.repository }}

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
name: Test Release

jobs:
generate-changelog:
name: Generate Changelog
test-release:
name: Test Release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 00fc5b0

Please sign in to comment.