Skip to content

Instantly share code, notes, and snippets.

@simbo
Last active November 29, 2020 10:22
Show Gist options
  • 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/[email protected]
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