Comments (2)
Your docs are in one repo, but you want to deploy it to another?
I'd need to have a little bit more context, but I don't see why you couldn't modify the checkout
step before this action runs to checkout code from another repository. So long as it gets put in the workspace
folder it should work with anything you decide to put in it.
from github-pages-deploy-action.
Do you mean:
- Checkout multiple repositories into the workspace, using the
path
option ofactions/checkout
- Move all the files you want to deploy from one part of the workspace to another, making sure you haven't checked out the target repository in such a way that there are still files there that need to be erased
- ??? Read the entire source code of this action to find out how it works
- Still not work out what you mean
- Try random combinations of workspace checkouts, getting GHA to build in full each time
I haven't done step 5 yet but that would be next.
I would note that on the beta3 branch you can simply provide a GITHUB_REPOSITORY
environment variable and it will assemble the .git URL with it. One step.
This is a very popular pattern, not just for private repo blogs, but that's the most common. I know travis has had it for years, because it's useful. I use it to publish multiple pages roots from a single repo.
from github-pages-deploy-action.
Related Issues (20)
- Commit fails with "process '/usr/bin/git' failed with exit code 128" HOT 3
- Error: You must provide the action with a folder to deploy.
- This project is now deprecated
- GitHub Actions `set-output` command is deprecated and will be disabled soon HOT 2
- Reporting a vulnerability HOT 1
- `token` not being used sometimes HOT 2
- fatal: A branch named 'main' already exists. HOT 7
- Pushed file asyncapi.html gets renamed to index.html HOT 3
- Can't push folder in project HOT 2
- remote: Permission denied to github-actions[bot] HOT 1
- I have this problem, everyone can help me ? This is for a react project HOT 1
- Git config not found for centos:7 HOT 2
- Action succeeds even when push fails HOT 1
- GitHub Pages re-building with Jekyll despite .nojekyll present HOT 1
- A file is missing or not transferred to github pages HOT 5
- The directory you're trying to deploy named /home/runner/work/RivioxTweaks/RivioxTweaks/dist doesn't exist. HOT 1
- There is nothing to commit. Exiting early⦠HOT 1
- The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 1 β HOT 3
- fatal: Authentication failed HOT 1
- Error: The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 128 β HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-pages-deploy-action.