Skip to content

Commit

Permalink
Update deploy-pages.yml
Browse files Browse the repository at this point in the history
Customise
  • Loading branch information
Martin R. Smith committed May 13, 2020
1 parent 3143f5e commit 0134a56
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
name: Deploy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel

jobs:
# This workflow contains a single job called "build"
deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false

# Runs a single command using the runners shell
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.4.9
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: . # The folder the action should deploy.

0 comments on commit 0134a56

Please sign in to comment.