Skip to content

Commit aca5bdc

Browse files
author
Luis Orta
committed
more experiments
1 parent c1143c8 commit aca5bdc

File tree

3 files changed

+70
-70
lines changed

3 files changed

+70
-70
lines changed

.github/workflows/jekyll.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/static.yml

Lines changed: 18 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,37 @@
1-
# Simple workflow for deploying static content to GitHub Pages
2-
name: Deploy static content to Pages
1+
name: Build and Deploy Jekyll
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
7-
branches: ["main"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
5+
branches:
6+
- main
107
workflow_dispatch:
118

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
139
permissions:
1410
contents: read
1511
pages: write
1612
id-token: write
1713

18-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2014
concurrency:
21-
group: "pages"
15+
group: pages
2216
cancel-in-progress: false
2317

2418
jobs:
25-
# Single deploy job since we're just deploying
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Build with Jekyll
23+
uses: noraworld/jekyll-build-pages@main
24+
with:
25+
use_ruby_version: false
26+
use_gemfile: false
27+
2628
deploy:
29+
needs: build
30+
runs-on: ubuntu-latest
2731
environment:
2832
name: github-pages
2933
url: ${{ steps.deployment.outputs.page_url }}
30-
runs-on: ubuntu-latest
3134
steps:
32-
- name: Checkout
33-
uses: actions/checkout@v4
34-
- name: Setup Pages
35-
uses: actions/configure-pages@v5
36-
- name: Test PowerShell Code
37-
shell: pwsh
38-
run: ./Tests/Test-PowerShell.ps1
39-
- name: Test MarkDown Files
40-
shell: pwsh
41-
run: ./Tests/Test-MarkDown.ps1
42-
# - name: Build Pages
43-
# shell: pwsh
44-
# run: ./build.ps1
45-
# - name: Upload artifact
46-
# uses: actions/upload-pages-artifact@v3
47-
# with:
48-
# # Upload entire repository
49-
# path: ./Web/_site/
50-
# - name: Deploy to GitHub Pages
51-
# id: deployment
52-
# uses: actions/deploy-pages@v4
35+
- name: Deploy to GitHub Pages
36+
id: deployment
37+
uses: actions/deploy-pages@v4

.github/workflows/static_old.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
36+
- name: Test PowerShell Code
37+
shell: pwsh
38+
run: ./Tests/Test-PowerShell.ps1
39+
- name: Test MarkDown Files
40+
shell: pwsh
41+
run: ./Tests/Test-MarkDown.ps1
42+
# - name: Build Pages
43+
# shell: pwsh
44+
# run: ./build.ps1
45+
# - name: Upload artifact
46+
# uses: actions/upload-pages-artifact@v3
47+
# with:
48+
# # Upload entire repository
49+
# path: ./Web/_site/
50+
# - name: Deploy to GitHub Pages
51+
# id: deployment
52+
# uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)