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 · 983 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 themetman, 1 day ago
6 74 6 hours ago
Support · by TomW, 2 weeks ago
8 286 4 days ago
Support · by alex, 3 months ago
8 703 4 days ago
Support · by Supple, 1 week ago
1 133 5 days ago
Support · by TomW, 2 weeks ago
3 208 6 days ago