#electron-forge not publishing to github

3 messages · Page 1 of 1 (latest)

sharp moth
#

I'm trying to make electron-forge deploy built code to github, but it doesn't work, and it doesn't have any errors or anything. my forge.config.js file is ```js
require('dotenv').config()

module.exports = {
packagerConfig: {
},
rebuildConfig: {

},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {},
}
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: '<my username>',
name: '<repo name>'
},
prerelease: false,
authToken: process.env.GH_KEY
}
}
],
plugins: [

],
hooks: {

},
buildIdentifier: 'v1.0.2'
}

I've been trying to figure this out, but without any luck so far. I know my config works because I don't have one in package.json and it builds with my settings, just doesn't publish
hoary vector
#

They clearly have an bug or somethig.
Yesterday I've opened an Issuem but so far noone replied.

You can vote up my issue and commend that you have similar problem. Maybe they will take a look.

Here is the issue: https://github.com/electron/forge/issues/3221

GitHub

Pre-flight checklist I have read the contribution documentation for this project. I agree to follow the code of conduct that this project uses. I have searched the issue tracker for a bug that matc...

hoary vector
#

Hey mate,
I implemented my own workflow that publishes the artifacts as github release asset.
Here is my workflow file if you are interested. Cheers.

https://github.com/electron/forge/issues/3221#issuecomment-1526634135

GitHub

Pre-flight checklist I have read the contribution documentation for this project. I agree to follow the code of conduct that this project uses. I have searched the issue tracker for a bug that matc...