mirror of
https://github.com/LCE-Hub/piston.git
synced 2026-07-17 15:57:21 +00:00
init
This commit is contained in:
parent
b23a122f93
commit
ad8088d4f0
28
.github/workflows/deploy.yml
vendored
28
.github/workflows/deploy.yml
vendored
|
|
@ -1,28 +0,0 @@
|
|||
name: Deploy to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install and Build
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
folder: dist
|
||||
branch: gh-pages
|
||||
Loading…
Reference in a new issue