Skip to content

Commit

Permalink
Adding deploy GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
SnailBones committed Nov 18, 2023
1 parent e7b744f commit cedc7e6
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 5 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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
2 changes: 1 addition & 1 deletion public/assets/ResponsibleForaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions public/assets/bassia/data.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions public/assets/sisybrium/data.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cedc7e6

Please sign in to comment.