Skip to content

Publish

Publish #37

Workflow file for this run

# Publishes changes from develop to master.
#
# * Triggers the CD workflow to publish the package if needed.
# * Documentation will be published on the official site.
name: Publish
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-22.04
permissions:
id-token: write # Required by Akeyless
contents: read
packages: read
steps:
- name: Import Secrets
id: import-secrets
uses: LanceMcCarthy/akeyless-action@v3
with:
access-id: ${{ secrets.GH_AKEYLESS_ACCESS_ID }}
static-secrets: '{ "/WebComponents/prod/tokens/GH_TOKEN": "GH_TOKEN" }'
export-secrets-to-environment: false
- name: Check out master
uses: actions/checkout@v3
with:
ref: master
fetch-depth: 0 # Fetch all branches
token: ${{ steps.import-secrets.outputs.GH_TOKEN }}
- name: Fast-forward master to develop
run: ./tools/release-master