diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..82214d4 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,34 @@ +name: Deploy to Digital Ocean + +on: + push: + branches: + - main + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + steps: + # - name: Checkout Repo + # uses: actions/checkout@v2 + + # - name: Install Dependencies + # run: npm install + + # - name: Build + # run: npm run build + + - name: Install SSH Key + uses: webfactory/ssh-agent@v0.8.0 + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + + - name: Deploy to Digital Ocean + run: | + ssh -o StrictHostKeyChecking=no [your-username]@[your-droplet-ip] << 'ENDSSH' + cd /var/www/forage-abq + git pull origin main + npm install + npm run build + ENDSSH diff --git a/public/assets/ResponsibleForaging.md b/public/assets/ResponsibleForaging.md index 14835c7..8919dfe 100644 --- a/public/assets/ResponsibleForaging.md +++ b/public/assets/ResponsibleForaging.md @@ -2,7 +2,7 @@ Foraging allows us to relate to the natural world in a physical way. By drawing sustenance from the place where we live and the other species that share it with us, we build a deeper connection and multisensory understanding of them. We practice mutual care and symbiosis with other species, as our species—and every species—has always done. -This site lists only non-native and/or abundant "weedy" species. Here's soe: +This site lists only non-native and/or abundant "weedy" species. Nonetheless, please forage with respect for the habitats that are sustaining you. Here are some guidelines: - **Take only what you will use**. Leave most plants for others, wildlife, and so the plants themselves can continue to grow and reproduce. Most foraged foods require processing that can take much longer than the picking itself, so you'll be saving yourself time. - **Cut, don't pull**. Even if you're harvesting a non-native weed, pulling disturbs the soil, which can harm native plants growing nearby or contribute to erosion. diff --git a/public/assets/bassia/data.yml b/public/assets/bassia/data.yml index 8bb18d7..fde6d9b 100644 --- a/public/assets/bassia/data.yml +++ b/public/assets/bassia/data.yml @@ -1,11 +1,11 @@ name: Kochia sciName: Bassia Scoparia start: 6 -end: 10 +end: 11 uses: - cooked green - cooked seed - chicken food -description: A common weed and unique summer potherb. +description: This tumbleweed-like plant makes a unique summer potherb. nativeTo: Dry parts of Asia and Europe image: leaves.jpg diff --git a/public/assets/sisybrium/data.yml b/public/assets/sisybrium/data.yml index 3fb3efe..7528be6 100644 --- a/public/assets/sisybrium/data.yml +++ b/public/assets/sisybrium/data.yml @@ -1,10 +1,10 @@ name: Samara Ratha sciName: Sisymbrium irio -start: 10 +start: 11 end: 5 uses: - salad - herb -description: This winter mustard weed has a spicy, wasabi-like bite. +description: A winter mustard green with a spicy, wasabi-like bite. nativeTo: Mediterranean image: leaves.jpg