case sensitive import #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prepare website content for AI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: ./devcon | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Install dependencies | |
run: yarn | |
- name: Create env file | |
run: | | |
touch .env | |
echo OPEN_AI_KEY='${{ secrets.OPEN_AI_KEY }}' >> .env | |
- name: Run script | |
run: yarn ai-content-sync |