File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,29 @@ jobs:
141141 name : jumble-artifacts
142142 path : ./toolshed/jumble-frontend
143143
144+ # NOTE(jake): We need to upload the frontend artifacts to R2, to enable
145+ # localhost:8000 toolshed proxying of jumble.
146+ - name : 📤 Upload frontend artifacts to R2 /jumble/latest
147+ uses : ryand56/r2-upload-action@v1.4
148+ if : github.ref == 'refs/heads/main'
149+ with :
150+ r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
151+ r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
152+ r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
153+ r2-bucket : ${{ secrets.R2_BUCKET }}
154+ source-dir : ./toolshed/jumble-frontend
155+ destination-dir : jumble/latest
156+
157+ - name : 📤 Upload backend artifacts to R2 /jumble/${{ github.sha }}
158+ uses : ryand56/r2-upload-action@v1.4
159+ with :
160+ r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
161+ r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
162+ r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
163+ r2-bucket : ${{ secrets.R2_BUCKET }}
164+ source-dir : ./toolshed/jumble-frontend
165+ destination-dir : jumble/${{ github.sha }}
166+
144167 - name : 🔐 Process & sign binaries
145168 if : github.ref == 'refs/heads/main'
146169 run : |
You can’t perform that action at this time.
0 commit comments