Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e8b1205cb | |||
| 4c10f036f6 | |||
| 8511c71ea5 | |||
| 191dafd676 | |||
| 336e68a9d7 |
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@@ -11,16 +11,16 @@ jobs:
|
||||
steps:
|
||||
# 1. Checkout code
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
uses: https://gitee.com/mirror-actions/checkout@v4
|
||||
|
||||
# 2. Install pnpm (Node >= 20)
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
uses: https://gitee.com/youtellme/pnpm-action-setup@v2
|
||||
with:
|
||||
version: 8 # Alternatively use latest
|
||||
|
||||
- name: Set Up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
uses: https://gitee.com/mirror-actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: "pnpm"
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
|
||||
# 4. Upload SourceMaps to GlitchTip
|
||||
- name: Upload SourceMaps to GlitchTip
|
||||
uses: getsentry/action-release@v1
|
||||
uses: https://gitee.com/mirrors_iBotPeaches/action-release@v1
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.GLITCHTIP_TOKEN }}
|
||||
SENTRY_URL: ${{ secrets.GLITCHTIP_URL }}
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
|
||||
# 6. Install SSH key
|
||||
- name: Install SSH Key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
uses: https://gitee.com/mirrors_muesli/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SERVER_SSH_KEY }}
|
||||
known_hosts: unnecessary # Automatically confirm first connection
|
||||
|
||||
Reference in New Issue
Block a user