File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ tags :
4+ - ' *'
5+
6+ jobs :
7+ push-to-octopus :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout main repo
11+ uses : actions/checkout@v2
12+ with :
13+ fetch-depth : 0
14+ submodules : ' true'
15+ token : ${{ secrets.GH_ACCESS_TOKEN }}
16+
17+ - name : Set package name 📦
18+ run : echo "PACKAGE_NAME=$(echo yoroi-frontend-smoke-builds.${{ github.ref_name }}.zip)" >> $GITHUB_ENV
19+
20+ - name : Zip package 📦
21+ run : zip -r ../$(echo $PACKAGE_NAME) . -x "*/.*"
22+
23+ - name : Install Octopus CLI 🐙
24+ uses : OctopusDeploy/install-octopus-cli-action@v3
25+ with :
26+ version : latest
27+
28+ - name : Push package to Octopus Deploy 🐙
29+ uses : OctopusDeploy/push-package-action@v3
30+ env :
31+ OCTOPUS_URL : https://emurgo.octopus.app
32+ OCTOPUS_API_KEY : ${{ secrets.OCTOPUS_API_KEY }}
33+ OCTOPUS_SPACE : ' DevOps'
34+ with :
35+ packages : ' ${{ env.PACKAGE_NAME }}'
36+
37+ - name : Create release
38+ uses : OctopusDeploy/create-release-action@v3
39+ env :
40+ OCTOPUS_URL : https://emurgo.octopus.app
41+ OCTOPUS_API_KEY : ${{ secrets.OCTOPUS_API_KEY }}
42+ OCTOPUS_SPACE : ' DevOps'
43+ with :
44+ project : yoroi-frontend-smoke-builds
45+ channel : ' Dev'
46+ packages : ' yoroi-frontend-smoke-builds:${{ github.ref_name }}'
47+ release_number : ' ${{ github.ref_name }}'
You can’t perform that action at this time.
0 commit comments