diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 7ee6090..a619dfb 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -15,19 +15,29 @@ jobs: with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + - name: Read .tool-versions + uses: marocchino/tool-versions-action@v1 + id: versions - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '18' + node-version: ${{ steps.versions.outputs.nodejs }} - name: Install dependencies from NPM run: npm install + - name: Set Hugo version + id: hugo-version + run: | + ver=$(echo "${{ steps.versions.outputs.hugo }}" | tr -d 'extended_') + echo "HUGO_VERSION=${ver}" >> "${GITHUB_OUTPUT}" + - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: 'latest' + hugo-version: ${{ steps.hugo-version.outputs.HUGO_VERSION }} extended: true # For SCSS - name: Build diff --git a/bin/add_newsletter b/bin/add_newsletter index 6748d21..e6daf00 100755 --- a/bin/add_newsletter +++ b/bin/add_newsletter @@ -50,7 +50,7 @@ next = issues = for path <- Path.wildcard([content, "/2*"]), str = File.read!(path), - [num_str] = Regex.run(~r/aliases:\n - (\d+)/, str, capture: :all_but_first), + [num_str] = Regex.run(~r/aliases:\r?\n - (\d+)/, str, capture: :all_but_first), do: String.to_integer(num_str) Enum.max(issues) + 1 diff --git a/config.yaml b/config.yaml index 305a02f..51113af 100644 --- a/config.yaml +++ b/config.yaml @@ -57,6 +57,9 @@ menu: url: 'https://github.com/nerves-project' pre: 'img/github.svg' weight: 2 + - name: 'Slack' + url: 'https://elixir-slack.community/' + pre: 'img/slack.svg' - name: 'Discord' url: 'https://discord.gg/elixir' pre: 'img/discord.svg' diff --git a/content/newsletter/2024-02-15-catching-up,-it's-back.html b/content/newsletter/2024-02-15-catching-up,-it's-back.html new file mode 100644 index 0000000..882c06f --- /dev/null +++ b/content/newsletter/2024-02-15-catching-up,-it's-back.html @@ -0,0 +1,492 @@ +--- +title: Catching up, it's back +date: 2024-02-15 +aliases: + - 69 +--- + + + + + + + + + + + + + + + + + + + diff --git a/content/newsletter/2024-03-04-system-updates-&-some-tflite?.html b/content/newsletter/2024-03-04-system-updates-&-some-tflite?.html new file mode 100644 index 0000000..c6c006b --- /dev/null +++ b/content/newsletter/2024-03-04-system-updates-&-some-tflite?.html @@ -0,0 +1,444 @@ +--- +title: System updates & some TFLite? +date: 2024-03-04 +aliases: + - 70 +--- + + + + + + + + + + + + + + + + + + + diff --git a/content/newsletter/2024-04-11-simulating-circuits-and-many-system-updates-:).html b/content/newsletter/2024-04-11-simulating-circuits-and-many-system-updates-:).html new file mode 100644 index 0000000..bc754bb --- /dev/null +++ b/content/newsletter/2024-04-11-simulating-circuits-and-many-system-updates-:).html @@ -0,0 +1,456 @@ +--- +title: Simulating circuits and many system updates :) +date: 2024-04-11 +aliases: + - 71 +--- + + + + + + + + + + + + + + + + + + + diff --git a/layouts/code/single.html b/layouts/code/single.html index ec769e2..87c9e3b 100644 --- a/layouts/code/single.html +++ b/layouts/code/single.html @@ -33,7 +33,14 @@ Nerves Forum - or + , + + + + + #nerves + + , or diff --git a/layouts/community/single.html b/layouts/community/single.html index 4ec9288..e2c912c 100644 --- a/layouts/community/single.html +++ b/layouts/community/single.html @@ -91,13 +91,19 @@ to find previously answered questions or ask for help.

- You can also post to the #nerves channel on the + You can also post to the #nerves channel on + + + + + Elixir Slack + , Elixir Discord - + , or submit a new issue on GitHub.

diff --git a/package-lock.json b/package-lock.json index 2f6475b..af7ce96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "nerves-project.github.com", + "name": "nerves-project.github.io", "lockfileVersion": 2, "requires": true, "packages": {