Comments (1)
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
from actions-gh-pages.
Related Issues (20)
- support: GitHub Pages 404 File not found HOT 10
- support: Follow-up "pages build and deployment" triggered by gh-pages not happening HOT 3
- proposal: fetch + rebase if there were other changes added in the meantime
- proposal: Upgrade dependency to node16 HOT 4
- proposal: Upgrade NodeJS HOT 4
- proposal: Change build dir from env.HOME to tempdir HOT 1
- support: HOT 3
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- support: The URL of the GitHub pages changes on its own HOT 6
- proposal: update documentation to give write permission to workflows HOT 3
- support: Update to address Github RSA host key change HOT 3
- support: no such file or directory and suffix is being added to the end of file directory .* HOT 9
- support: ssh-agent error when using two deploy actions in one workflow HOT 2
- support: How to control the domain name (not a custom domain)? HOT 1
- support: The depoly step is skipped and gh-pages doesn't generated HOT 3
- support: Github Pages not deployed, even when action is successfull HOT 7
- support: Is there a way for me to try a github action to commit a file to gh-page branch from a PR created by a forked repo? HOT 3
- proposal: Issue a warning if content is to large
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 actions-gh-pages.