Skip to content

Commit

Permalink
changed back to deploy static content using github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuliusRoolf committed Jul 15, 2024
1 parent 4a76a32 commit c172fb0
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Deploy site to Pages
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
Expand All @@ -21,26 +22,22 @@ concurrency:
cancel-in-progress: false

jobs:
# Build job
build:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
name: website
path: ./website

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
# Upload entire repository
path: './website'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
11 changes: 11 additions & 0 deletions JOURNAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ This is a quick journal on how I develop this website. It will be used for docum
- [`<head>` Element Uses](#head-element-uses)
- [14 July](#14-july)
- [Playin around](#playin-around)
- [15 July](#15-july)
- [Today's ToDo List](#todays-todo-list)

## 13 July

Expand Down Expand Up @@ -64,3 +66,12 @@ Open Graph tags (prefixed with og:) are used by social media platforms to genera
I have added the index.html file that I played around with yestrerday and added a favicon of my logo and a styles.css to play around with today. The ZuliusRoolfLogo.svg is my own work with the use of my own Font that I plan to release in the future.

While I'm commiting my work so far, I wanted to take the opportunity and see if I can update to GitHub Pages along side with it. According to this [StackOverflow post](https://stackoverflow.com/a/56911185) I'm supposed to add a file named .nojekyll for a website that does not use Jekyll. Not sure if it actually matters.

## 15 July

### Today's ToDo List

- [ ] Setup github actions to work with static builds
- [ ] Reach step 1.4 in the website curriculum
- [ ] Reach step 1.16 in the website curriculum
- [ ] Get answers on how to use markdown to then convert into html
File renamed without changes.

0 comments on commit c172fb0

Please sign in to comment.