generated from LucJosin/astro-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Features - Add build workflow Changes - Bump version to `1.2.0` - Remove docs submodule - Remove scripts - Remove unused files - Remove unused scripts from package.json - Update website end title and description - Update dependencies - Update button component - Update README Fixes - Fix wrong /try-it title - Fix wrong images path
- Loading branch information
Showing
14 changed files
with
816 additions
and
888 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Build | ||
|
||
# Only build after new tag. | ||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node with yarn caching | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
cache: yarn | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build Astro | ||
run: yarn build | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./build | ||
publish_branch: release | ||
enable_jekyll: false | ||
user_name: "github-actions[bot]" | ||
user_email: "github-actions[bot]@users.noreply.github.com" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule docs
deleted from
c9d60f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
{ | ||
"name": "@hawapi/root", | ||
"version": "1.0.0", | ||
"version": "1.2.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "astro dev", | ||
"dev:docs": "cd docs/ && retype watch", | ||
"build": "yarn clean && astro build", | ||
"build:adapt": "./scripts/adapt-website.sh", | ||
"build:docs": "cd docs/ && yarn build", | ||
"build:all": "yarn build && yarn build:docs && ./scripts/setup-docs.sh && yarn build:adapt", | ||
"build": "astro build", | ||
"clean": "rm -rf ./build" | ||
}, | ||
"devDependencies": { | ||
"@astrojs/sitemap": "^1.3.3", | ||
"@typescript-eslint/eslint-plugin": "^5.59.9", | ||
"@typescript-eslint/parser": "^5.59.9", | ||
"astro": "^2.5.7", | ||
"@astrojs/sitemap": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.2", | ||
"@typescript-eslint/parser": "^6.7.2", | ||
"astro": "^3.1.1", | ||
"astro-compress": "^2.0.12", | ||
"astro-icon": "^0.8.1", | ||
"eslint": "^8.42.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-astro": "^0.27.1", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-astro": "^0.10.0", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-astro": "^0.29.0", | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-astro": "^0.12.0", | ||
"svgo": "2.8.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.