New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support: How to publish multiple directories using single action ? #797
Labels
support
User support
Comments
We can just move several folders into the public folder. name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Build
run: ...
- name: Create public
run: |
mkdir ./public
cp -r output1 output2 ./public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Describe your question
For Ex: I have 2 folders
output
output2
i want these 2 folders should be published as artifacts separately in single action.
How to achieve this ?
Relevant links
Relevant log output
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: