Skip to content

Commit 3980195

Browse files
authored
Update github-pages.yml
1 parent d66e4af commit 3980195

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/github-pages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
matrix:
2222
node-version: [16.x]
2323
base_href: [vagas-java]
24+
work_dir: [codigofonte/ionicv4/soujavaVagas]
2425
# Steps represent a sequence of tasks that will be executed as part of the job
2526
steps:
2627
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -34,15 +35,15 @@ jobs:
3435
# Github access token token used to deploy on gh_pages. You can find it on Github.
3536
github_access_token: ${{ secrets.GITHUB_TOKEN }}
3637
# The directory of the angular project, in which all the commands will run. It's optional, default is ./
37-
angular_project_dir: ./codigofonte/ionicv4/soujavaVagas/
38+
angular_project_dir: ${{ matrix.work_dir }}
3839
# Build configuration for the angular app
3940
build_configuration: production # optional, default is production
4041
# base href for the app
4142
base_href: /${{ matrix.base_href }}/ # optional, default is /
4243
# branch on which the angular build will be deployed
4344
deploy_branch: gh-pages # optional, default is gh-pages
4445
# The folder in which `ng build` provides its output. This is the folder which will be deployed to the `deploy_branch`.
45-
angular_dist_build_folder: dist/${{ matrix.base_href }} # optional, default is dist
46+
angular_dist_build_folder: ./${{ matrix.work_dir }}/dist/${{ matrix.base_href }} # optional, default is dist
4647
# If the action should run 'ng lint'
4748
# run_lint: # optional
4849
# Will not fail the step if anything fails

0 commit comments

Comments
 (0)