File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change 3737 test-script : npm run tests
3838
3939 build-website :
40- if : false
4140 name : Build Website
4241 uses : makerxstudio/shared-config/.github/workflows/node-build-zip.yml@main
4342 with :
8079 matrix :
8180 # macos-14 is the Apple Silicon M1 runner
8281 platform : [ubuntu-20.04, windows-latest, 'macos-latest', 'macos-14']
83- if : ${{ needs.create-release.outputs.release-published == 'true' }}
82+ # if: ${{ needs.create-release.outputs.release-published == 'true' }}
83+ if : false
8484
8585 steps :
8686 - uses : actions/checkout@v4
@@ -123,13 +123,32 @@ jobs:
123123 outputs :
124124 linux-artifact-name : ${{ steps.build-linux.outputs.artifact-name }}
125125
126- publish :
126+ deploy-website-staging :
127+ name : Publish Website to Staging
128+ needs :
129+ - build-website
130+ steps :
131+ - uses : actions/checkout@v4
132+ with :
133+ fetch-depth : 0
134+
135+ - name : Download artifacts
136+ uses : actions/download-artifact@v4
137+ with :
138+ name : website
139+ path : artifacts
140+
141+ - name : Deploy website to Netlify
142+ run : |
143+ npx netlify-cli deploy --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} --dir artifacts/website --alias staging
144+
145+ publish-app :
127146 name : Publish
128147 needs :
129148 - create-release
130149 - build-tauri
131150 runs-on : [ubuntu-20.04]
132- # if: ${{ inputs.production-release == 'true' }}
151+ if : ${{ inputs.production-release == 'true' }}
133152 steps :
134153 - uses : actions/checkout@v4
135154 with :
You can’t perform that action at this time.
0 commit comments