Fix: Pages does not create a own page for develop and for master
Since the CI job for page deployment added with !396 (merged) does not work properly, this MR will fix this problem.
The current approach using the cache did not work and could also be troublesome if the cache is cleared frequently.
This variant uses deployments and environments.
Deployments can be found here: https://code.fbi.h-da.de/danet/gosdn/-/environments
The CI job triggered for develop will publish to a combination of the artifact and the pipeline id: https://danet.h-da.io/-/gosdn/-/jobs/{PIPELINE ID}/artifacts/public/index.html
CI job triggered on master will always be published to https://danet.h-da.io/gosdn .
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
-
My code follows the code style of this project. -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the CONTRIBUTING document. -
I have added tests to cover my changes. -
All new and existing tests passed.
Edited by Malte Bauch