forked from newthuhole/hole_thu_frontend
Compare commits
140 Commits
422 changed files with 45900 additions and 13258 deletions
@ -1,2 +1,3 @@
|
||||
REACT_APP_VERSION=$npm_package_version |
||||
EXTEND_ESLINT=true |
||||
GENERATE_SOURCEMAP=false |
||||
|
@ -0,0 +1,34 @@
|
||||
name: Auto Deploy |
||||
|
||||
on: |
||||
push: |
||||
branches: |
||||
- 'master' |
||||
|
||||
jobs: |
||||
gh_pages: |
||||
runs-on: ubuntu-latest |
||||
permissions: write-all |
||||
steps: |
||||
- uses: actions/checkout@v3 |
||||
- uses: actions/setup-node@v3 |
||||
with: |
||||
cache: 'yarn' |
||||
- name: "Install Dependencies" |
||||
run: yarn |
||||
- name: "Get current date" |
||||
run: echo "date=$(date --rfc-3339=date)" >> "$GITHUB_ENV" |
||||
- name: "Build" |
||||
run: yarn build |
||||
env: |
||||
REACT_APP_ROOM_ID: 1 |
||||
REACT_APP_BACKEND: "https://api.tholeapis.top/" |
||||
REACT_APP_BUILD_INFO: "v-${{ env.date }}" |
||||
- name: "Deploy with gh-pages" |
||||
run: | |
||||
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git |
||||
yarn deploy -u "github-actions-bot <[email protected]>" -m "$COMMIT_MESSAGE" |
||||
env: |
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
||||
GITHUB_REPOSITORY: ${{ github.repository }} |
||||
COMMIT_MESSAGE: "Build for [${{ github.event.head_commit.message }}]" |
@ -1,3 +0,0 @@
|
||||
[submodule "src/react-lazyload"] |
||||
path = src/react-lazyload |
||||
url = https://github.com/xmcp/react-lazyload |
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue