Skip to content

Commit cae6a4f

Browse files
committed
github pages attempt
1 parent d5277dd commit cae6a4f

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on: push
2+
3+
permissions:
4+
contents: read
5+
pages: write
6+
id-token: write
7+
8+
jobs:
9+
deploy:
10+
environment:
11+
name: github-pages
12+
url: ${{steps.deployment.outputs.page_url}}
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Pages
19+
uses: actions/configure-pages@v5
20+
with:
21+
token: ${{secrets.GITHUB_TOKEN}}
22+
enablement: true
23+
24+
- name: Upload Artifact
25+
uses: actions/upload-pages-artifact@v3
26+
with:
27+
# upload entire directory
28+
path: 'pack/'
29+
30+
- name: Deploy to GitHub Pages
31+
id: deployment
32+
uses: actions/deploy-pages@v4

.nojekyll

Whitespace-only changes.

scripts/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
unsup_config = """
5151
version=1
5252
source_format=packwiz
53-
source=http://localhost:8080/pack.toml
53+
source=http://potluck.devos.one/pack.toml
5454
preset=minecraft
5555
5656
[branding]

0 commit comments

Comments
 (0)