gatsby-gh-pages-action | GitHub Action to build and deploy your Gatsby site | Continous Integration library
kandi X-RAY | gatsby-gh-pages-action Summary
kandi X-RAY | gatsby-gh-pages-action Summary
GitHub Action to build and deploy your Gatsby site to GitHub Pages ️
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gatsby-gh-pages-action
gatsby-gh-pages-action Key Features
gatsby-gh-pages-action Examples and Code Snippets
Community Discussions
Trending Discussions on gatsby-gh-pages-action
QUESTION
I have a dev
branch where I have Gatsby personal website. I also have a main
branch accordingly which is used to publish my personal website.
I want to map GitHub pages to my custom domain. For this, I need a new file named CNAME
in main
with some content.
I found the following GitHub action in order to achieve file creation in the same branch.
https://github.com/marketplace/actions/create-file
I am looking for a similar GitHub action that can create a new file in a new branch.
Here's my current version of GitHub pages:
...ANSWER
Answered 2021-Feb-20 at 12:31Because of uses: actions/checkout@v2
you have a checkout of your code. You can create a branch by calling git branch the-of-the-branch
. And with git push
you can push it to the origin repository.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gatsby-gh-pages-action
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page