Merge pull request #36 from nature-of-code/patch-action-secrets

Update notion-git.yml
This commit is contained in:
Yifei Gao 2022-07-25 17:10:07 -04:00 committed by GitHub
commit db5a472dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,10 @@ jobs:
- run: npm install - run: npm install
- name: Import Notion Docs - name: Import Notion Docs
run: NOTION_TOKEN=${{ secrets.NOTION_SECRET }} npm run import-notion-docs run: npm run import-notion-docs
env:
NOTION_TOKEN: ${{ secrets.NOTION_SECRET }}
NOTION_DATABASE_ID: ${{ secrets.NOTION_DATABASE_ID }}
- name: Update folder permissions - name: Update folder permissions
run: sudo chown -R $USER:$USER . run: sudo chown -R $USER:$USER .