From 0ca7f2b8f9105af0aa4e0695eab2910fa4880444 Mon Sep 17 00:00:00 2001 From: Dmitry Zudochkin Date: Thu, 29 Jun 2023 11:50:21 +0300 Subject: [PATCH] GH actions (linting and gh-pages) (#246) * Feat: markdownlint and gh-pages * up fo README.md * remove unused files * on pushs on master branch --- .../{jekyll-gh-pages.yml => gh-pages.yml} | 5 ++- .github/workflows/markdownlint.yml | 35 +++++++++++++++++++ .markdownlint.yaml | 2 ++ .travis.yml | 7 ---- .vuepress/config.js | 5 --- README.md | 13 +++---- deploy.sh | 14 -------- 7 files changed, 46 insertions(+), 35 deletions(-) rename .github/workflows/{jekyll-gh-pages.yml => gh-pages.yml} (95%) create mode 100644 .github/workflows/markdownlint.yml create mode 100644 .markdownlint.yaml delete mode 100644 .travis.yml delete mode 100644 .vuepress/config.js delete mode 100755 deploy.sh diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/gh-pages.yml similarity index 95% rename from .github/workflows/jekyll-gh-pages.yml rename to .github/workflows/gh-pages.yml index 6489fce..5a133c2 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,5 +1,5 @@ # Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll with GitHub Pages dependencies preinstalled +name: Deploy Jekyll with GitHub Pages on: # Runs on pushes targeting the default branch @@ -28,13 +28,16 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Setup Pages uses: actions/configure-pages@v3 + - name: Build with Jekyll uses: actions/jekyll-build-pages@v1 with: source: ./ destination: ./_site + - name: Upload artifact uses: actions/upload-pages-artifact@v1 diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml new file mode 100644 index 0000000..1bbd417 --- /dev/null +++ b/.github/workflows/markdownlint.yml @@ -0,0 +1,35 @@ +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Markdown linting + +on: + # Runs on pushes targeting the default branch + push: + branches: ["master"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + # id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +# concurrency: +# group: "pages" +# cancel-in-progress: false + +jobs: + # Build job + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: markdownlint-cli + uses: nosborn/github-action-markdown-cli@v3.3.0 + with: + files: README.md + config_file: .markdownlint.yaml diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..beebc4b --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,2 @@ +MD013: false +MD041: false diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 61976f6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: ruby -rvm: - - 2.5.1 -before_script: - - gem install awesome_bot -script: - - awesome_bot README.md diff --git a/.vuepress/config.js b/.vuepress/config.js deleted file mode 100644 index 5889432..0000000 --- a/.vuepress/config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - title: 'Awesome Newsletters', - description: 'A list of amazing Newsletters', - base: '/awesome-newsletters/', -}; diff --git a/README.md b/README.md index d50a86d..4626163 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -# Awesome Newsletters [![Awesome](https://awesome.re/badge.svg)](https://github.com/sindresorhus/awesome#readme) - -A curated list of awesome newsletters. +A curated list of newsletters, awesome newsletters. [![Awesome](https://awesome.re/badge.svg)](https://github.com/sindresorhus/awesome#readme) Inspired by the `awesome-*` trend on GitHub. @@ -93,6 +91,7 @@ Thanks to all [contributors](https://github.com/zudochkin/awesome-newsletters/gr - [FreeCodeCamp](https://www.freecodecamp.org). Weekly selection of five articles, videos or entire courses from FreeCodeCamp learning platform. - [Codrops](https://tympanus.net/codrops/). Weekly news about qualitative new projects and libraries in web development and design. - [The Comet](https://wpuniverse.online/the-comet/). Short. Concise. Blazing fast 🌠 A monthly free newsletter about WordPress and web development. + ### JavaScript - [JavaScript Weekly](https://javascriptweekly.com/). A free, once–weekly e-mail round-up of JavaScript news and articles. [Archive](https://javascriptweekly.com/issues). @@ -204,13 +203,12 @@ Thanks to all [contributors](https://github.com/zudochkin/awesome-newsletters/gr - [Big Tech Digest](https://bigtechdigest.substack.com/). A manually curated newsletter aggregating the latest tech articles from Big Tech and startup engineering blogs for Software Engineers and AI/ML folks. - [Console](https://console.dev/). A free weekly email digest of the best tools for developers. - ### ObjectiveC - [ObjC](https://www.objc.io/). Free monthly issues covering the most important aspects of advanced iOS and OS X development. - [Awesome iOS Newsletter](https://ios.libhunt.com/newsletter). A curated list of awesome iOS libraries, including Objective-C and Swift Projects. -### C# # +### C\# - [C# Digest](https://csharpdigest.net/). A weekly newsletter featuring only the top 5 links for C# and .NET developers. [Archive](https://csharpdigest.net/digests). - [Awesome .Net Newsletter](https://dotnet.libhunt.com/newsletter). A collection of awesome .Net libraries, tools & frameworks. @@ -390,7 +388,6 @@ Thanks to all [contributors](https://github.com/zudochkin/awesome-newsletters/gr - [Learn Kubernetes weekly](https://learnk8s.io/learn-kubernetes-weekly). Curated articles, tutorials, projects and events with a focus on Kubernetes. - [DevOps Bulletin](https://devopsbulletin.com). The latest DevOps trends in your inbox every week. From AWS, Terraform, and Kubernetes to CI/CD pipelines and cloud-native architecture, we've got you covered! - ### Cloud Development - [Your weekly Azure news fix](https://azureweekly.info/). Azure Weekly is a summary of the week's top news in the Microsoft Azure ecosystem, as well as interesting historic content that's well worth reading. @@ -466,7 +463,6 @@ Thanks to all [contributors](https://github.com/zudochkin/awesome-newsletters/gr - [Unvalidated Ideas](https://unvalidatedideas.com). Fresh startup and SaaS ideas that you can take out and market validate every week. - [Generated.Company](https://generated.company). Unleash Your Entrepreneurial Potential with AI-Powered Company Ideas. 10 Company ideas every single week. - ## Awesome news - [HackerNewsLetter](https://www.hackernewsletter.com/). A weekly newsletter of the best articles on startups, technology, programming, and more. All links are curated by hand from the popular Hacker News site. @@ -490,6 +486,7 @@ Thanks to all [contributors](https://github.com/zudochkin/awesome-newsletters/gr - [Resilience Roundup](https://resilienceroundup.com). Learn from Resilence Engineering research without having to dig through long, academic papers. ## Security + - [Crypto-Gram](https://www.schneier.com/crypto-gram/). A security-focused monthly newsletter curated by Bruce Schneier, one of the most famous security experts in the world. - [this week in security](https://twitter.us18.list-manage.com/subscribe?u=e1ad6038c994abec17dafb116&id=a2457dc8ad). a weekly tl;dr cybersecurity newsletter including news, the happy corner, your weekly cyber-cat, and more. It's sent every Sunday. - [InfoSecSherpa](https://nuzzel.com/InfoSecSherpa). A daily summary of 10 Information Security news items that aren't necessarily getting a lot of attention. @@ -529,7 +526,7 @@ Thanks to all [contributors](https://github.com/zudochkin/awesome-newsletters/gr - [No-Code Shots](https://nocodeshots.com). A curated weekly newsletter that will bring you news, updates, and tips on how to improve your No-code skills. - [News Minimalist](https://www.newsminimalist.com/). A curated newsletter utilizing AI (ChatGPT-4) to deliver only the most significant news. By analyzing 1000 top articles daily, it ensures subscribers stay informed without wasting time on unimportant updates. -# License +## License [![CC0](https://licensebuttons.net/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/) diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index e21c919..0000000 --- a/deploy.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env sh - -set -e - -vuepress build - -cd .vuepress/dist - -git init -git add -A -git commit -m "Deploy: $(date "+DATE: %Y-%m-%d TIME: %H:%M:%S")" -git push -f git@github.com:zudochkin/awesome-newsletters.git master:gh-pages - -cd -