Create update_gh_pages.yml

master
Marcus Bakker 2020-05-14 15:36:05 +02:00 committed by GitHub
parent 0b87053127
commit 8e35631d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

23
.github/workflows/update_gh_pages.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Update the DeTT&CT Editor on GitHub Pages
# Controls when the action will run. Triggers the workflow on push or pull request events
on:
push:
branches: [ master ]
paths: 'editor/**'
jobs:
# This workflow contains a single job called "copy"
copy:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Update DeTT&CT Editor
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
external_repository: rabobank-cdc/dettect-editor
publish_branch: master
publish_dir: ./editor/dist/dettect-editor