help using actions for deploy #119991
-
Hi all! on: jobs:
thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Try this: https://github.com/peaceiris/actions-gh-pages name: Update deploy branch with dist folder contents
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/**' # Ignore changes towards the .github directory
branches:
- main # Only trigger on the main branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Perform Checkout
uses: actions/checkout@v2
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: deploy |
Beta Was this translation helpful? Give feedback.
Try this:
https://github.com/peaceiris/actions-gh-pages