Skip to content

Commit

Permalink
🌋 更新构建流程
Browse files Browse the repository at this point in the history
  • Loading branch information
metowolf committed Jul 17, 2023
1 parent f530c74 commit 8a28c60
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
File renamed without changes.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
push:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn install
yarn test
yarn build
gh release create $(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1) public/*
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit 8a28c60

Please sign in to comment.