refactor: 清理请求和响应处理逻辑,移除冗余代码 #243
This file contains hidden or 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
| name: Deploy | |
| on: | |
| push: | |
| # Sequence of patterns matched against refs/heads | |
| branches: | |
| - dev | |
| permissions: | |
| actions: read | |
| contents: read | |
| jobs: | |
| debug: | |
| uses: ./.github/workflows/dev.yml | |
| secrets: inherit | |
| deploy: | |
| needs: debug | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download artifact | |
| uses: actions/download-artifact@master | |
| with: | |
| name: artifact | |
| - name: Deploy | |
| uses: exuanbo/actions-deploy-gist@main | |
| with: | |
| token: ${{ secrets.GIST_TOKEN }} | |
| gist_id: b7524906119fa250bc933cc9a08e939a | |
| gist_description: " iRingo: 📍 GeoServices β" | |
| file_path: dist/request.bundle.js | |
| - name: Deploy | |
| uses: exuanbo/actions-deploy-gist@main | |
| with: | |
| token: ${{ secrets.GIST_TOKEN }} | |
| gist_id: b7524906119fa250bc933cc9a08e939a | |
| gist_description: " iRingo: 📍 GeoServices β" | |
| file_path: dist/response.bundle.js |