Skip to content

Initial GitHub Pages setup #1

Initial GitHub Pages setup

Initial GitHub Pages setup #1

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- gh-pages-branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and deploy
run: |
# Your build and deploy script here
mkdir -p public
cp -r * public/
git config --global user.name "Guy Moalem"
git config --global user.email "guy.moa@gmail.com"
git add .
git commit -m "Deploy to GitHub Pages"
git push origin gh-pages-branch:gh-pages