1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00
This commit is contained in:
zumbiepig 2024-07-25 11:16:33 -07:00
parent 768a602ef0
commit 528d4ca0c2
2 changed files with 7 additions and 16 deletions

View File

@ -1,9 +1,9 @@
name: Lint and Build name: Build
on: [push, pull_request, workflow_dispatch] on: [push, pull_request, workflow_dispatch]
jobs: jobs:
test: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout

View File

@ -5,13 +5,8 @@ on:
branches: [main] branches: [main]
workflow_dispatch: workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency: concurrency:
group: "pages" group: "gh-pages"
cancel-in-progress: false cancel-in-progress: false
jobs: jobs:
@ -29,14 +24,10 @@ jobs:
node-version-file: "package.json" node-version-file: "package.json"
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Lint
run: npm run lint
- name: Build - name: Build
run: npm run build run: npm run build
- name: Upload artifact - name: Deploy
uses: actions/upload-pages-artifact@v3 uses: peaceiris/actions-gh-pages@v4
with: with:
path: "public/" github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to GitHub Pages publish_dir: ./public
id: deployment
uses: actions/deploy-pages@v4