diff --git a/.github/workflows/create.yml b/.github/workflows/create.yml new file mode 100644 index 000000000..061803857 --- /dev/null +++ b/.github/workflows/create.yml @@ -0,0 +1,39 @@ +name: Create chowdown image + +on: + push: + branches: [ publish ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + + - name: Log in to the Container registry + uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 + with: + registry: ghcr.io + username: darrylcauldwell + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push + id: docker_build + uses: docker/build-push-action@v2 + with: + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ghcr.io/darrylcauldwell/chowdown:latest + ghcr.io/darrylcauldwell/chowdown:1.8 + + - name: Image digest + run: echo ${{ steps.docker_build.outputs.digest }} + diff --git a/.gitignore b/.gitignore index 5b18b54a8..c8f8c87b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,19 @@ -/.c9 -/_site/ -/.jekyll-cache/ +# Jekyll specific +# _site/ +.sass-cache/ +.jekyll-cache/ +.jekyll-metadata + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# General +.DS_Store +.AppleDouble +.LSOverride \ No newline at end of file diff --git a/CNAME b/CNAME deleted file mode 100644 index b5893f3ee..000000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -chowdown.io \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..3eda7842a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM nginx:1.21.1-alpine +COPY _site /usr/share/nginx/html +# COPY nginx.conf /etc/nginx/nginx.conf +RUN apk add --no-cache bash \ No newline at end of file diff --git a/_chowdown.sketch b/_chowdown.sketch deleted file mode 100644 index 50181ae56..000000000 Binary files a/_chowdown.sketch and /dev/null differ diff --git a/_components/graham-cracker-crust.md b/_components/graham-cracker-crust.md deleted file mode 100644 index cafd07e92..000000000 --- a/_components/graham-cracker-crust.md +++ /dev/null @@ -1,21 +0,0 @@ ---- - -layout: recipe -title: "Graham Cracker Crust" -image: graham-cracker-crust.jpg -imagecredit: https://flic.kr/p/atxu75 - -ingredients: -- 2 cups graham cracker crumbs -- 6 tbs butter (melted) -- 1/3 cup white sugar -- 1 tsp cinnamon - -directions: -- pulse graham cracker in food processor or use muddler to crumb in bowl -- combine melted butter, graham cracker crumbs, sugar, and cinnamon in a bowl -- press into pan, forming into crust shape - ---- - -A simple graham cracker crust, perfect for cheesecakes or tarts. \ No newline at end of file diff --git a/_components/red-berry-dessert-topping.md b/_components/red-berry-dessert-topping.md deleted file mode 100644 index ed69cd189..000000000 --- a/_components/red-berry-dessert-topping.md +++ /dev/null @@ -1,22 +0,0 @@ ---- - -layout: recipe -title: "Red Berry Dessert Topping" -image: red-berry-topping.jpg -imagecredit: https://flic.kr/p/9kczzP - -ingredients: -- 1/2 cup raspberries -- 1/2 cup strawberries -- 1/4 white sugar -- 1 squirt honey - - -directions: -- Dice berries -- Combine all ingredients -- Let rest for 15 mins - ---- - -A simple mash of berries, perfect for a tart or top of cheesecake. \ No newline at end of file diff --git a/_components/vanilla-custard-filling.md b/_components/vanilla-custard-filling.md deleted file mode 100644 index bee3c4868..000000000 --- a/_components/vanilla-custard-filling.md +++ /dev/null @@ -1,27 +0,0 @@ ---- - -layout: recipe -title: "Vanilla Custard Filling" -image: vanilla-custard.jpg -imagecredit: https://flic.kr/p/99yJqV - -ingredients: -- 1/2 cup sugar -- 1/4 cup all-purpose flour -- 1/2 teaspoon salt -- 2 cups milk -- 2 egg yolks, lightly beaten -- 2 teaspoons vanilla extract - - -directions: -- In a small saucepan, combine the sugar, flour and salt. Stir in milk until smooth. -- Cook and stir over medium-high heat until thickened and bubbly. -- Reduce heat; cook and stir 2 minutes longer. -- Remove from the heat. Stir a small amount of hot filling into egg yolks; return all to the pan. -- Bring to a gentle boil, stirring constantly; cook and stir 2 minutes longer. -- Remove from the heat. Gently stir in vanilla. - ---- - -A simple vanilla custard filling, useful for tarts (or alone by itself in a bowl). \ No newline at end of file diff --git a/_config.yml b/_config.yml index a059049d9..e2d2fb893 100644 --- a/_config.yml +++ b/_config.yml @@ -1,13 +1,11 @@ # Site settings -title: Chowdown +title: The Veggie Chef email: your-email@domain.com -description: The plain text recipe database for hackers -baseurl: "https://chowdown.io" +description: A collection of recipes we use at home +baseurl: language: "en" lang_direction: "ltr" color: "#007FFF" -twitter_username: clarklab -github_username: clarklab # Build settings markdown: kramdown diff --git a/_data/nutrients.yml b/_data/nutrients.yml index f1e72cc82..997d913dd 100644 --- a/_data/nutrients.yml +++ b/_data/nutrients.yml @@ -18,7 +18,7 @@ cholesterolContent: name: cholesterol type: Mass description: The number of milligrams of cholesterol. - unit: g + unit: mg fatContent: name: fat type: Mass diff --git a/_includes/footer.html b/_includes/footer.html index 3dd60745e..587db64a7 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,15 +1,6 @@