Skip to content

Commit

Permalink
Try this out
Browse files Browse the repository at this point in the history
Try this out2

Try this out2

Revert "Try this out2"

This reverts commit 11355c4.

Try this out2
  • Loading branch information
marthydavid committed Dec 10, 2024
1 parent bff670a commit 64804d5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
43 changes: 43 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Docs"

on:
push:
branches: ["main"]
paths:
- README.md

permissions:
pages: write
contents: write

jobs:
copy:
name: Copy docs
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/[email protected]

- name: git pull
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git pull

- name: Copy README.md to index.md
run: cp README.md index.md

- name: Deploy to gh-pages
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b gh-pages || git checkout gh-pages
git status
git add index.md
git commit -m "Update index.md from README.md" || echo "No changes to commit"
git push origin gh-pages
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,3 @@ This is the repo for my homelab
| - | [X10SLM+-LN4F](https://www.supermicro.com/en/products/motherboard/X10SLM+-LN4F) | Xeon [E3-1230v3](https://ark.intel.com/content/www/us/en/ark/products/75054/intel-xeon-processor-e3-1230-v3-8m-cache-3-30-ghz.html) | 32GB | | | 1IPMI, 4x1Gig |
| - | [X10SLM+-LN4F](https://www.supermicro.com/en/products/motherboard/X10SLM+-LN4F) | Xeon [E3-1231v3](https://ark.intel.com/content/www/us/en/ark/products/80910/intel-xeon-processor-e31231-v3-8m-cache-3-40-ghz.html) | 32GB | | | 1IPMI, 4x1Gig |
| - | Gigabyte | Core [i5-4750](https://ark.intel.com/content/www/us/en/ark/products/75043/intel-core-i5-4570-processor-6m-cache-up-to-3-60-ghz.html) | 32GB | | | 2x1Gig |

0 comments on commit 64804d5

Please sign in to comment.