mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
nuke velzie stuff
This commit is contained in:
parent
c3ccd8f238
commit
d1d38142e7
1 changed files with 12 additions and 13 deletions
25
.github/workflows/main.yml
vendored
25
.github/workflows/main.yml
vendored
|
@ -5,6 +5,11 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -41,6 +46,13 @@ jobs:
|
||||||
dist/*.js.map
|
dist/*.js.map
|
||||||
- name: build statics
|
- name: build statics
|
||||||
run: bash buildstatic.sh
|
run: bash buildstatic.sh
|
||||||
|
- name: upload pages artifact
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
with:
|
||||||
|
path: './staticbuild'
|
||||||
|
- name: deploy to github
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v4
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
name: Upload release
|
name: Upload release
|
||||||
|
@ -78,16 +90,3 @@ jobs:
|
||||||
body: ${{ github.event.head_commit.message }}
|
body: ${{ github.event.head_commit.message }}
|
||||||
artifacts: "scramjet.zip"
|
artifacts: "scramjet.zip"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build # Deploy after the build job finishes
|
|
||||||
permissions:
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Deploy to GitHub Pages
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ github.token }}
|
|
||||||
publish_dir: ./staticbuild
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue