fix: 更新URL重写规则以支持新的API路径 #848
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 Request | |
| uses: exuanbo/actions-deploy-gist@main | |
| with: | |
| token: ${{ secrets.GIST_TOKEN }} | |
| gist_id: 862db28df04be7523476d10b61b128f2 | |
| gist_description: " iRingo: 🌤 WeatherKit β" | |
| file_path: dist/request.bundle.js | |
| - name: Deploy Response | |
| uses: exuanbo/actions-deploy-gist@main | |
| with: | |
| token: ${{ secrets.GIST_TOKEN }} | |
| gist_id: 862db28df04be7523476d10b61b128f2 | |
| gist_description: " iRingo: 🌤 WeatherKit β" | |
| file_path: dist/response.bundle.js |