Code Monkey home page Code Monkey logo

Comments (3)

vella-nicholas avatar vella-nicholas commented on August 13, 2024 1

Thank you for the very detailed explanation.

from actions-gh-pages.

peaceiris avatar peaceiris commented on August 13, 2024

GITHUB_TOKEN secret

The GITHUB_TOKEN secret is a GitHub App installation token scoped to the repository that contains your workflow. GitHub creates the GITHUB_TOKEN secret for you by default, but you must include it in your workflow file in order for actions to use it. You can use the GITHUB_TOKEN secret to make authenticated GitHub API calls on behalf of an action.

We can use GITHUB_TOKEN by default without setting up. Currently, GITHUB_TOKEN works only on a private repository. See #9

We can use PERSONAL_TOKEN that is generated at Personal Access Tokens with repo scope. It works well on private and public repositories.

token private repo public repo protocol setup
GITHUB_TOKEN ✅️ ❌️ https unnecessary
PERSONAL_TOKEN ✅️ ✅️ https necessary
ACTIONS_DEPLOY_KEY ✅️ ✅️ SSH necessary

In the future, it is desirable to use GITHUB_TOKEN on all repositories. But the token has some problems with permissions between GitHub Pages and GitHub Actions. GitHub support team is investigating it and we are waiting for a good reply from them.

from actions-gh-pages.

github-actions avatar github-actions commented on August 13, 2024

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

from actions-gh-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.