File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,17 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - name : Checkout repository
16+ - name : Checkout repository at tag
1717 uses : actions/checkout@v3
1818 with :
1919 ref : ${{ github.event.inputs.tag }}
2020
21+ # Fetch deploy script from main instead of using the one in the tag
22+ - name : Fetch deploy script from main
23+ run : |
24+ git fetch origin main
25+ git checkout origin/main -- scripts/deploy-cdn.sh
26+
2127 - name : Set up Node.js
2228 uses : actions/setup-node@v3
2329 with :
2935 - name : Install Dependencies
3036 run : yarn install --immutable
3137
32- - name : Run deploy script
38+ - name : Run deploy CDN script
3339 env :
3440 tag : ${{ github.event.inputs.tag }}
3541 run : bash ./scripts/deploy-cdn.sh
You can’t perform that action at this time.
0 commit comments