Comments (3)
Strategy for multiple goals
develop
docs
First choose one of the following:
- Write a new workflow to run from
develop
branch only - Use the variable
GITHUB_REF
to separate frommaster
Than set the TARGET_FOLDER
variable in the github-pages-deploy-action
, by:
- choosing your favourite name for
develop
docs - use a conditional github expression, e.g.:
TARGET_FOLDER: ${{ github.ref }}
or
- name: Deploy 🚀
if: github.ref == 'master'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
TARGET_FOLDER: ${{ github.ref }}
- name: Deploy 🚀
if: github.ref == 'develop'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
TARGET_FOLDER: "dontrelymeimunstable"
version docs only
if using the strategy 1. try using 2. for the master
only workflow, i.e. use TARGET_FOLDER: ${{ github.ref }}
redirect
put a redirect (maybe an HTML one) from base domain to /stable
, not to be updated never by any workflow (nor deleted)
navigate docs version
Something like this:
from yadism.
Since the content of ${{ github.ref }}
is too raw, and it's not possible to elaborate the string directly in TARGET_FOLDER
field, nor it's possible to use anything else, move to a completely different action, add-and-commit
, to make the workflow more flexible.
Summary: instead of using a specific "deploying" action, just use a generic "commit" action and load manually the file in the gh-pages
branch with git
(git
is more flexible and reliable than a specific action)
from yadism.
stable
branch is recovered
from yadism.
Related Issues (20)
- Public Interface HOT 1
- drop `gh-pages` HOT 3
- Benchmark Workflow HOT 2
- FONLL-B below charm mass is NNLO instead of NLO HOT 4
- Most exact FONLL implementation HOT 4
- `kDISqThr` is ignored with runner HOT 3
- Minus sign missing in k_qq_loc HOT 2
- Number of active nf in Singlet FONLL HOT 8
- Regression tests fail HOT 2
- Clean up inputcard keys HOT 5
- Light structure functions à la FONLL
- Higher mass effects in heavylight
- Update FONLL docs HOT 1
- New coefficient function library
- Deduplicate scale variations
- Runcard serialization
- TMC in nuclear DIS HOT 1
- Improve documentation
- Drop intrinsic configuration and activate it always
- Fix pydocstyle HOT 1
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 yadism.