Question on deploying to branch name #764
Unanswered
costateixeira
asked this question in
Q&A
Replies: 1 comment
-
I think you're looking for Docs: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'd like to deploy some selected branches to a folder named as the branch:
When I commit to rc1, it'd deploy to gh-pages/rc1
When I commit to my-branch, it'd deploy to gh-pages/my-branch
I tried to set
but that doesn't work (it creates a folder called literally
gh-pages/${GITHUB_REF##*/}
Is there a way to pass the branch name as a folder to deploy to?
Beta Was this translation helpful? Give feedback.
All reactions