Merge branch 'master' of https://github.com/maltejur/hsarch
This commit is contained in:
commit
18f52240d8
6 changed files with 24 additions and 7448 deletions
27
.github/workflows/deploy.yml
vendored
27
.github/workflows/deploy.yml
vendored
|
|
@ -1,27 +0,0 @@
|
|||
name: deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2.1.2
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm i
|
||||
|
||||
- name: Build
|
||||
run: npx parcel build src/index.html
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./dist
|
||||
cname: archiv.hertzschlag.eu
|
||||
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
|
|
@ -1,20 +0,0 @@
|
|||
name: test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2.1.2
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm i
|
||||
|
||||
- name: Build
|
||||
run: npx parcel build src/index.html
|
||||
BIN
.package.json.un~
Normal file
BIN
.package.json.un~
Normal file
Binary file not shown.
7399
package-lock.json
generated
7399
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -11,8 +11,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"dev": "parcel src/index.html",
|
||||
"build": "parcel build src/index.html",
|
||||
"deploy": "yarn build && gh-pages -d dist"
|
||||
"build": "parcel build src/index.html"
|
||||
},
|
||||
"dependencies": {
|
||||
"nprogress": "^0.2.0"
|
||||
|
|
|
|||
23
package.json~
Normal file
23
package.json~
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "hsarch",
|
||||
"version": "1.0.0",
|
||||
"repository": "https://github.com/maltejur/hsarch.git",
|
||||
"author": "maltejur <48161361+maltejur@users.noreply.github.com>",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"gh-pages": "^3.1.0",
|
||||
"parcel-bundler": "^1.12.4",
|
||||
"typescript": "^4.0.5"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "parcel src/index.html",
|
||||
"build": "parcel build src/index.html",
|
||||
"deploy": "yarn build && gh-pages -d dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"nprogress": "^0.2.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"since 2017-06"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue