Skip to content

Commit 3b913c4

Browse files
committed
pure packwiz
1 parent a4adf23 commit 3b913c4

File tree

117 files changed

+78
-1531
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+78
-1531
lines changed

.devcontainer/devcontainer.json

-24
This file was deleted.

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Disable Git line ending conversion in the pack directory
2+
# This prevents packwiz index hashes changing when committing from Windows
3+
pack/** -text

.github/workflows/instance.yml

-40
This file was deleted.

.github/workflows/packwiz.yml

-40
This file was deleted.

.github/workflows/static.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy packwiz pack to github pages
2+
3+
on:
4+
# Runs on pushes targeting the default branch
5+
push:
6+
branches: ["main"]
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: false
22+
23+
jobs:
24+
# Single deploy job since we're just deploying
25+
deploy:
26+
environment:
27+
name: github-pages
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: import main
32+
uses: actions/checkout@v3
33+
with:
34+
ref: main
35+
path: main
36+
sparse-checkout: 'pack'
37+
sparse-checkout-cone-mode: false
38+
- name: import main - clean
39+
run: rm -rf cdn/main/.git
40+
- name: Setup Pages
41+
uses: actions/configure-pages@v3
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v2
44+
with:
45+
# Upload entire repository
46+
path: '.'
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@v2

.github/workflows/test.yml

-70
This file was deleted.

.gitignore

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
# mcman: Exclude mcman build outputs
2-
**/server
3-
# mcman: Exclude exported mrpacks
4-
*.mrpack
5-
# mcman: Exclude local dotenv files
6-
**/.env
7-
8-
# prism launcher instance
9-
profile.zip
1+
.idea/
2+
.DS_Store
103

11-
# intellij IDEs
12-
.idea
4+
*.mrpack

0 commit comments

Comments
 (0)