Skip to content

Commit

Permalink
pure packwiz
Browse files Browse the repository at this point in the history
  • Loading branch information
sisby-folk committed Aug 5, 2024
1 parent a4adf23 commit 3b913c4
Show file tree
Hide file tree
Showing 117 changed files with 78 additions and 1,531 deletions.
24 changes: 0 additions & 24 deletions .devcontainer/devcontainer.json

This file was deleted.

3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Disable Git line ending conversion in the pack directory
# This prevents packwiz index hashes changing when committing from Windows
pack/** -text
40 changes: 0 additions & 40 deletions .github/workflows/instance.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/packwiz.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Deploy packwiz pack to github pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

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

jobs:
# 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: import main
uses: actions/checkout@v3
with:
ref: main
path: main
sparse-checkout: 'pack'
sparse-checkout-cone-mode: false
- name: import main - clean
run: rm -rf cdn/main/.git
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
70 changes: 0 additions & 70 deletions .github/workflows/test.yml

This file was deleted.

14 changes: 3 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
# mcman: Exclude mcman build outputs
**/server
# mcman: Exclude exported mrpacks
*.mrpack
# mcman: Exclude local dotenv files
**/.env

# prism launcher instance
profile.zip
.idea/
.DS_Store

# intellij IDEs
.idea
*.mrpack
Loading

0 comments on commit 3b913c4

Please sign in to comment.