fix: error Missing list of packages to add to your project. #9
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: Crawl | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
crawl: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v4 | |
- name: Create .env file | |
run: | | |
echo "NODE_ENV=${{ secrets.NODE_ENV }}" > .env | |
echo "OPEN_DB_KEY=${{ secrets.OPEN_DB_KEY }}" >> .env | |
echo "OPEN_DB_IV=${{ secrets.OPEN_DB_IV }}" >> .env | |
echo "PHPSESSID=${{ secrets.PHPSESSID }}" >> .env | |
- name: Install Packages | |
run: yarn | |
- name: Burn 🔥 | |
run: yarn dev | |
- name: Push to Github | |
run: | | |
git add ./db | |
git config --global user.name "Zain-ul-din" | |
git config --global user.email "[email protected]" | |
git commit -m "🤖 Github Action: updated encrypted DB" | |
git push origin master | |
# Appendix: | |
# https://stackoverflow.com/questions/72851548/permission-denied-to-github-actionsbot |