Skip to content

Commit fb73dd9

Browse files
committed
Fix deployment badge
1 parent ef730bb commit fb73dd9

2 files changed

Lines changed: 47 additions & 1 deletion

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- name: Setup Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: '3.3'
27+
bundler-cache: true
28+
- name: Setup Pages
29+
uses: actions/configure-pages@v5
30+
- name: Build with Jekyll
31+
run: bundle exec jekyll build
32+
env:
33+
JEKYLL_ENV: production
34+
- name: Upload artifact
35+
uses: actions/upload-pages-artifact@v3
36+
37+
deploy:
38+
environment:
39+
name: github-pages
40+
url: ${{ steps.deployment.outputs.page_url }}
41+
runs-on: ubuntu-latest
42+
needs: build
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# riffpointer.github.io
2-
[![Build and Deploy](https://github.com/riffpointer/riffpointer.github.io/actions/workflows/pages-build-deployment/badge.svg)](https://github.com/riffpointer/riffpointer.github.io/actions/workflows/pages-build-deployment)
2+
[![Build and Deploy](https://github.com/riffpointer/riffpointer.github.io/actions/workflows/pages-build-deployment.yml/badge.svg)](https://github.com/riffpointer/riffpointer.github.io/actions/workflows/pages-build-deployment.yml)
33
[![GitHub Pages Deployment](https://img.shields.io/github/deployments/riffpointer/riffpointer.github.io/github-pages?label=deployment)](https://github.com/riffpointer/riffpointer.github.io/deployments)
44

55
Source code for riffpointer.github.io

0 commit comments

Comments
 (0)