-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7b744f
commit cedc7e6
Showing
4 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
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
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 |
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
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
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 |
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
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 |