Skip to content

Commit

Permalink
docs: center GitHub Actions Workflow Status badge
Browse files Browse the repository at this point in the history
Signed-off-by: chris1320 <chris1320is@protonmail.com>
  • Loading branch information
Chris1320 committed Apr 9, 2024
1 parent 0360467 commit 273b8b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
repository: 'Chris1320/SetupGuides-serve'
repository: "Chris1320/SetupGuides-serve"
submodules: true
fetch-depth: 0 # Fetch all history for git info
- uses: actions/setup-node@v3
with:
node-version: 18.14
- name: Update submodules # Always get the latest contents
run: |
git submodule update --init --recursive --remote -f
- name: Install Dependencies
run: npm ci
- name: Build Quartz
Expand All @@ -34,7 +37,7 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
path: public

deploy:
needs: build
environment:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ alias:

-----

![GitHub Pages Deployment Status](https://img.shields.io/github/actions/workflow/status/Chris1320/SetupGuides/deploy.yml)
<center>
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Chris1320/SetupGuides/deploy.yml">
</center>

This repository contains guides on how I set up software I use on my machines. Most of the guides are tested on the following operating systems:

Expand Down

0 comments on commit 273b8b2

Please sign in to comment.