Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

GitHub workflow to create a release throws an error in the build process

Started by chraebsli 2 years ago · 3 replies · 951 views
2 years ago

I'm trying to create a GitHub workflow to build my skeleton for a release. I've copied the GitHub workflow file from another official Grav skeleton and tried using it, but only thing I got was this error in the action workflow:

YAML
Run svenstaro/upload-release-action@v2
  with:
    repo_token: ***
    tag: 2.0.0
    file: dist/*.zip
    overwrite: true
    file_glob: true
  env:
    SKELETON_VERSION: 2.0.0

Error: Resource not accessible by integration - https://docs.github.com/rest/releases/releases#create-a-release

I've already searched the internet, but it doesn't seem to have any docs about this. Neither for how to set up a workflow to publish a skeleton in the releases.

Here are some useful links of the repo:

2 years ago

I've checked the blog post and did exactly what he did, but somehow I'm getting this message still. I'm using the same build-skelton.yaml and tested it for automatic & manual release.

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 225 8 hours ago
Support · by alex, 2 months ago
8 666 23 hours ago
Support · by Supple, 5 days ago
1 97 1 day ago
Support · by TomW, 1 week ago
3 158 3 days ago
Support · by TomW, 6 days ago
2 105 5 days ago