Roll back to previous release #2
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: "Roll back to previous release" | |
on: | |
workflow_dispatch: | |
inputs: | |
# The following token must match with the token in Github secrets. This validates that the | |
# user creating the deployment has authorisation to do so. | |
# fe_deploy_token: The token that allows deployments. | |
fe_deployment_token: | |
description: "The FE available token to allow deployments" | |
required: true | |
jobs: | |
get_previous_release: | |
name: "Find previous release" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get previous release tag | |
id: previous-release | |
uses: sammcoe/get-previous-release-action@v1 |