Skip to content

Commit

Permalink
Update gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
John Schellinger committed Aug 17, 2024
1 parent e2f5dfa commit 1c90d33
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: build
run-name: ${{ github.event.head_commit.message }}
on: [push]

Expand Down
21 changes: 5 additions & 16 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: GitHub Pages
name: gh-pages

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']

# 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
Expand All @@ -22,9 +18,11 @@ concurrency:
cancel-in-progress: false

jobs:
# Build job
build:
gh-pages:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -37,15 +35,6 @@ jobs:
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="./docs/logo-sm.png" width="320" height="103" alt="EZMC Logo" />
<img src="./docs/images/logo-sm.png" width="320" height="103" alt="EZMC Logo" />
</p>

<p align="center">
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ plugins:
- jekyll-remote-theme # add this line to the plugins list if you already have one

title: EZMC
description: Server management CLI for self-hosting Minecraft Java Edition with AWS Elastic Container Service.
description: A server management CLI for self-hosting Minecraft Java Edition with AWS Elastic Container Service.
show_downloads: true
File renamed without changes
8 changes: 6 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<html>
<head></head>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/index.min.css" />
<link rel="stylesheet" href="./styles.css" type="text/css" />
</head>
<body>
<h1>Hello world</h1>
<h1>EZMC</h1>
<h2>A server management CLI for self-hosting Minecraft Java Edition with AWS Elastic Container Service.</h2>
</body>
</html>
8 changes: 8 additions & 0 deletions docs/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
html,
body {
font-family: 'Minecraft';
font-weight: normal;
font-style: normal;
background-color: #555555;
color: white;
}

0 comments on commit 1c90d33

Please sign in to comment.