Deploy and Octopus workflows #9
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: Octopus | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
OCTOPUS_SPACE: "Default" | |
jobs: | |
octopus: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # Required for authentication | |
steps: | |
- name: Login to Octopus 🐙 | |
uses: OctopusDeploy/login@v1 | |
with: | |
server: ${{ secrets.OCTOPUS_URL }} | |
service_account_id: ${{ secrets.OCTOPUS_SERVICE_ACCOUNT_ID }} | |
- name: Create a release in Octopus 🐙 | |
uses: OctopusDeploy/create-release-action@v3 | |
with: | |
project: "Data Ingestion Building Blocks" | |
channel: "Channel alis/46.${{ github.run_id }}" | |
release_number: "46.${{ github.run_id }}" | |
package_version: "46.${{ github.run_id }}" |