Skip to content

Commit

Permalink
Update GithubPagesDeploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
201flaviosilva committed May 1, 2024
1 parent ab95e2b commit 3cb0647
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/GithubPagesDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3cb0647

Please sign in to comment.