New build of the Editor #128
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update the DeTT&CT Editor on GitHub Pages | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths: 'editor/dist/dettect-editor/**' | |
| jobs: | |
| copy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it | |
| - uses: actions/checkout@v3 | |
| with: | |
| token: ${{ secrets.PERSONAL_TOKEN }} | |
| - 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 |