[VAS-1095] feat: e2e PSP's & CI's actions on private bundle #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD Develop | |
on: | |
pull_request: | |
branches: | |
- next | |
types: | |
- closed | |
permissions: | |
packages: write | |
contents: write | |
issues: write | |
id-token: write | |
actions: read | |
jobs: | |
print_debug: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump Inputs | |
env: | |
JSON_INPUTS: ${{ toJson(inputs) }} | |
run: echo "$JSON_INPUTS" | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- name: Dump job context | |
env: | |
JOB_CONTEXT: ${{ toJson(job) }} | |
run: echo "$JOB_CONTEXT" | |
- name: Dump steps context | |
env: | |
STEPS_CONTEXT: ${{ toJson(steps) }} | |
run: echo "$STEPS_CONTEXT" | |
- name: Dump runner context | |
env: | |
RUNNER_CONTEXT: ${{ toJson(runner) }} | |
run: echo "$RUNNER_CONTEXT" | |
- name: Dump strategy context | |
env: | |
STRATEGY_CONTEXT: ${{ toJson(strategy) }} | |
run: echo "$STRATEGY_CONTEXT" | |
- name: Dump matrix context | |
env: | |
MATRIX_CONTEXT: ${{ toJson(matrix) }} | |
run: echo "$MATRIX_CONTEXT" | |
release: | |
name: Create a New Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Make Release | |
id: release | |
uses: pagopa/github-actions-template/node-release@4a4c25ce28feeec9e619b3132b5327f52023d441 # v1.14.2 | |
with: | |
semver: buildNumber | |
github_token: ${{ secrets.BOT_TOKEN_GITHUB }} | |
skip_ci: false | |
prerelease: true | |
only_tag: true | |
deploy: | |
needs: | |
- release | |
name: Deploy on CDN | |
uses: ./.github/workflows/deploy_on_cdn.yml | |
with: | |
environment: 'dev' | |
secrets: inherit |