Update CONIFG.md

This commit is contained in:
Meekdai 2023-07-31 10:44:43 +08:00 committed by GitHub
parent 908c4900e7
commit 41046d7abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,8 @@ jobs:
build:
name: Generate blog
runs-on: ubuntu-20.04
if: github.event.repository.owner.id == github.event.sender.id
if: github.event.repository.owner.id == github.event.sender.id
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v3
@ -70,7 +71,7 @@ jobs:
echo "====== check config.josn file ======"
cat config.json
echo "====== check config.josn end ======"
python Gmeek.py ${{ secrets.meblog }} ${{ github.repository }} --issue_number '${{ github.event.issue.number }}'
python Gmeek.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} --issue_number '${{ github.event.issue.number }}'
cp -a /opt/Gmeek/docs ${{ github.workspace }}
cp -a /opt/Gmeek/backup ${{ github.workspace }}
cp /opt/Gmeek/blogBase.json ${{ github.workspace }}