Skip to content

Instantly share code, notes, and snippets.

@simbo
Last active November 29, 2020 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simbo/7ef46ddfaed896b391e125ef06200800 to your computer and use it in GitHub Desktop.
Save simbo/7ef46ddfaed896b391e125ef06200800 to your computer and use it in GitHub Desktop.
GitHub Actions Workflow to deploy Project Pages
name: CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛎 Checkout
uses: actions/checkout@v2
# add your test and build pipeline here
- name: 🚚 Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
BRANCH: gh-pages
FOLDER: dist
CLEAN: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment