All Projects → Cecilapp → GitHub-Pages-deploy

Cecilapp / GitHub-Pages-deploy

Licence: MIT license
A GitHub Action to deploy a static site on GitHub Pages.

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to GitHub-Pages-deploy

lychee-action
Github action to check for broken links in Markdown, HTML, and text files using lychee, a fast link checker written in Rust.
Stars: ✭ 89 (+111.9%)
Mutual labels:  action, github-actions
cuda-toolkit
GitHub Action to install CUDA
Stars: ✭ 34 (-19.05%)
Mutual labels:  action, github-actions
git-actions
A GitHub Action to run arbitrary git commands
Stars: ✭ 72 (+71.43%)
Mutual labels:  action, github-actions
colab-badge-action
GitHub Action that generates "Open In Colab" Badges for you
Stars: ✭ 15 (-64.29%)
Mutual labels:  action, github-actions
github-deploy-actions
This action will auto deploy to target branch when it get triggered
Stars: ✭ 24 (-42.86%)
Mutual labels:  gh-pages, github-actions
vs-shell
GitHub action to set up the Visual Studio shell environment
Stars: ✭ 36 (-14.29%)
Mutual labels:  action, github-actions
action-homebrew-bump-formula
⚙️ A GitHub Action to easily bump Homebrew formula on new release
Stars: ✭ 68 (+61.9%)
Mutual labels:  action, github-actions
jest-github-action
Jest action adding checks with annotations to your pull requests and coverage table as comments
Stars: ✭ 134 (+219.05%)
Mutual labels:  action, github-actions
upx-action
Strips and runs upx on binaries
Stars: ✭ 17 (-59.52%)
Mutual labels:  action, github-actions
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (-7.14%)
Mutual labels:  action, github-actions
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+47.62%)
Mutual labels:  action, github-actions
gh-pages-action
A GitHub Action to deploy a static site on GitHub Pages.
Stars: ✭ 26 (-38.1%)
Mutual labels:  gh-pages, github-actions
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+233.33%)
Mutual labels:  action, github-actions
setup-clang
GitHub action to set up Clang & LLVM
Stars: ✭ 28 (-33.33%)
Mutual labels:  action, github-actions
hugo-action
Commands to help with building Hugo based static sites
Stars: ✭ 65 (+54.76%)
Mutual labels:  action, github-actions
action-autotag
Automatically generate a new tag when the manifest file (package.json, Dockerfile, custom file, etc) version changes.
Stars: ✭ 45 (+7.14%)
Mutual labels:  action, github-actions
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+104.76%)
Mutual labels:  action, github-actions
actions
Collection of repetitive GitHub Actions
Stars: ✭ 12 (-71.43%)
Mutual labels:  action, github-actions
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-40.48%)
Mutual labels:  action, github-actions
angular-forum
Forum application built with Angular
Stars: ✭ 52 (+23.81%)
Mutual labels:  gh-pages, github-actions

GitHub Pages deploy

This Action deploys a static site on GitHub Pages.

test

GitHub Pages deploy v3 now use the secrets.GITHUB_TOKEN instead of a personal access token (PAT), and inputs parameters instead of environment variables.

If you want to continue using the previous release (with environment variables) you must set the version: Cecilapp/GitHub-Pages-deploy@v2.

Usage

See action.yml.

- name: Deploy to GitHub Pages
  uses: Cecilapp/GitHub-Pages-deploy@v3
  env:![badge](https://user-images.githubusercontent.com/80580/188000416-327192fc-4f0f-468f-b619-ad426c58b2a8.svg)

    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    email: [email protected]
    build_dir: _site               # optional
    branch: website                # optional
    cname: domain.tld              # optional
    jekyll: no                     # optional
    commit_message: custom message # optional

Workflow example:

name: GitHub Pages deploy
on:
  push:
    branches:
    - master

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Build
      uses: # build your static site

    - name: Deploy to GitHub Pages
      uses: Cecilapp/GitHub-Pages-deploy@v3
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        email: [email protected]
        build_dir: _site

Note about user and organization sites

The default publishing source for user and organization sites is the root of the default branch for the repository.

See documentation.

License

GitHub Pages deploy is a free software distributed under the terms of the MIT license.

© Arnaud Ligny

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].