We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78337f9 commit 8a1bbf4Copy full SHA for 8a1bbf4
.github/workflows/production-build.yml
@@ -12,7 +12,7 @@ jobs:
12
build:
13
runs-on: self-hosted
14
permissions:
15
- contents: read
+ contents: write
16
deployments: write
17
env:
18
RUSTC_WRAPPER: /usr/bin/sccache
@@ -66,3 +66,13 @@ jobs:
66
projectName: graphite-editor
67
directory: frontend/dist
68
branch: master
69
+
70
+ - name: 📦 Upload assets to GitHub release
71
+ env:
72
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73
+ run: |
74
+ DATE=$(date +%F)
75
+ cd frontend
76
+ mv dist "graphite-$DATE"
77
+ zip -r "graphite-self-hosted-build.zip" "graphite-$DATE"
78
+ gh release upload ${{ github.event.release.tag_name }} "graphite-self-hosted-build.zip" --clobber
0 commit comments