From 3cb064754e5d9a00802b82aaf57cfccd90011567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fla=CC=81vio=20Silva?= Date: Thu, 2 May 2024 00:13:59 +0100 Subject: [PATCH] Update GithubPagesDeploy.yml --- .github/workflows/GithubPagesDeploy.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) 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