diff --git a/.github/workflows/GithubPagesDeploy.yml b/.github/workflows/GithubPagesDeploy.yml index 7d19d23..b8d6f07 100644 --- a/.github/workflows/GithubPagesDeploy.yml +++ b/.github/workflows/GithubPagesDeploy.yml @@ -4,9 +4,17 @@ name: Github Pages Deploy on: push: - branches: [master, "V1-FE-Vanilla-Site", "V2-Phaser-Game"] + branches: + - master + - "V1-FE-Vanilla-Site" + - "V2-Phaser-Game" + - "PDF" pull_request: - branches: [master, "V1-FE-Vanilla-Site", "V2-Phaser-Game"] + branches: + - master + - "V1-FE-Vanilla-Site" + - "V2-Phaser-Game" + - "PDF" jobs: build: @@ -40,6 +48,15 @@ jobs: path: dist/V1 clean: false + # ------- PDF -------- + - name: Checkout the `PDF` branch + uses: actions/checkout@v2 + with: + ref: PDF + # Put the checked out files inside the `dist/PDF` folder + path: dist/PDF + clean: false + # ------- gh-pages (deploy) -------- - name: Deploy in gh-pages uses: JamesIves/github-pages-deploy-action@4.1.1